Tags

links:
http://stackoverflow.com/questions/12585037/should-i-use-the-repository-spring-annotation-for-a-bean-responsible-to-persist

summary:
– A class thus annotated [with @Respository] is eligible for Spring DataAccessException translation when used in conjunction with a PersistenceExceptionTranslationPostProcessor. The annotated class is also clarified as to its role in the overall application architecture for the purpose of tooling, aspects, etc.

Advertisements