Browse Source

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

pull/7/head
Keith Donald 14 years ago
parent
commit
1a2f96000e
  1. 4
      org.springframework.context/src/main/java/org/springframework/stereotype/Repository.java

4
org.springframework.context/src/main/java/org/springframework/stereotype/Repository.java

@ -23,7 +23,9 @@ import java.lang.annotation.RetentionPolicy; @@ -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

Loading…
Cancel
Save