Annotation Interface Repository
Teams implementing traditional Jakarta EE patterns such as "Data Access Object" may also apply this stereotype to DAO classes, though care should be taken to understand the distinction between Data Access Object and DDD-style repositories before doing so. This annotation is a general-purpose stereotype and individual teams may narrow their semantics and use as appropriate.
A class thus annotated is eligible for Spring
invalid reference
DataAccessExceptioninvalid reference
PersistenceExceptionTranslationPostProcessor
This annotation also serves as a specialization of @Component,
allowing for implementation classes to be autodetected through classpath scanning.
- Since:
- 2.0
- Author:
- Rod Johnson, Juergen Hoeller
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
-