mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
clarified repository definition from DDD and removed comparison with DAO to reduce confusion
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user