Spring Data JPA3.4.0

Spring Data JPA, part of the larger Spring Data family, makes it easy to easily implement JPA-based (Java Persistence API) repositories. It makes it easier to build Spring-powered applications that use data access technologies.

Implementing a data access layer for an application can be quite cumbersome. Too much boilerplate code has to be written to execute the simplest queries. Add things like pagination, auditing, and other often-needed options, and you end up lost.

Spring Data JPA aims to significantly improve the implementation of data access layers by reducing the effort to the amount that’s actually needed. As a developer you write your repository interfaces using any number of techniques, and Spring will wire it up for you automatically. You can even use custom finders or query by example and Spring will write the query for you!

Support Policy and Migration

For information about minimum requirements, guidance on upgrading from earlier versions and support policies, please check out the official Spring Data release train wiki page.

Also check out the supported versions of Spring Data JPA in relation to Spring Boot.

Features

  • Getting Started: Sophisticated support to build repositories based on Spring and JPA

  • Various Query Methods: Pagination support, dynamic query execution, ability to integrate custom data access code

  • Validation of @Query annotated queries at bootstrap time

  • Support for Querydsl predicates and type-safe JPA queries

  • Auditing: Transparent auditing of domain class

  • Configuration: Modern configuration using annotations as well as legacy support for XML-based systems.

Spring Initializr

Quickstart Your Project

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all