The Spring @Repository annotation marks a class as a data-access component and enables translation of persistence-specific exceptions into Spring unchecked data-access exceptions. section 14.2
DAO implementation
Annotate concrete DAO implementations, such as ItemDaoImpl and BidDaoImpl, with @Repository; pair them with @Transactional for transactional methods and @PersistenceContext for the EntityManager.
