What's Spring Data JPA?
According to Pivotal, Spring Data JPA, part of the larger Spring Data family, makes it easy to easily implement JPA based repositories. This module deals with enhanced support for JPA based data access layers. It makes it easier to build Spring-powered applications that use data access technologies.
Features
- Sophisticated support to build repositories based on Spring and JPA
- Support for Querydsl predicates and thus type-safe JPA queries
- Transparent auditing of domain class
- Pagination support, dynamic query execution, ability to integrate custom data access code
- Validation of
@Query
annotated queries at bootstrap time - Support for XML based entity mapping
- JavaConfig based repository configuration by introducing
@EnableJpaRepositories
What I am going to explain in this series?
- I will build some demonstrations based on spring-data-starter-data-jpa, to show how to adopt these features.
- Dive into the source code to study how it works.