Spring Data JPA
The Spring Data JPA project aims to significantly improve the ORM implementation of data access layers by reducing the effort to the amount that’s actually needed. A developer only needs to write repository interfaces, including custom finder methods, and Spring will provide the implementation automatically.
The following are just a few of the powerful features specific to the Spring Data JPA Project:
- Sophisticated support for building repositories based on Spring and JPA
- Support for
QueryDSL
predicates and, thus, type-safe JPA queries - Transparent auditing of domain classes
- Pagination support, dynamic query execution, and the ability to integrate custom data access code
- Validation of
@Query
-annotated queries at bootstrap time - Support for XML based entity mapping
- The
JavaConfig
based repository configuration by introducing@EnableJpaRepositories
Updating our dependencies
We have already included all the dependencies...