Spring Boot with Spring Data JPA - Concept
Posted leolztang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Spring Boot with Spring Data JPA - Concept相关的知识,希望对你有一定的参考价值。
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.
以上是关于Spring Boot with Spring Data JPA - Concept的主要内容,如果未能解决你的问题,请参考以下文章
《Pro Spring Boot 2》第四章:Web Applications with Spring Boot
Spring Boot with Spring Data JPA - Concept
《Pro Spring Boot 2》第五章:Data Access with Spring Boot