clarified repository definition from DDD and removed comparison with DAO to reduce confusion

This commit is contained in:
Keith Donald 2011-09-13 14:31:41 +00:00
parent 663f056329
commit 1a2f96000e
1 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,9 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Indicates that an annotated class is a "Repository" (or "DAO").
* Indicates that an annotated class is a "Repository",
* "a mechanism for encapsulating storage, retrieval,
* and search behaviour which emulates a collection of objects.
*
* <p>A class thus annotated is eligible for Spring
* {@link org.springframework.dao.DataAccessException} translation. The