Build the apps that make the world run. Join us at SpringOne in San Francisco, Dec 6–8. >
close

Spring Data JPA

2.7.3

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.

Implementing a data access layer of an application has been cumbersome for quite a while. Too much boilerplate code has to be written to execute simple queries as well as perform pagination, and auditing. 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, including custom finder methods, and Spring will provide the implementation automatically.

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.

Spring Initializr

Quickstart Your Project

Bootstrap your application with Spring Initializr.

Documentation

Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
2.7.3 CURRENT GA Reference Doc. API Doc.
3.0.0-SNAPSHOT SNAPSHOT
3.0.0-M6 PRE Reference Doc. API Doc.
2.7.4-SNAPSHOT SNAPSHOT
2.6.8-SNAPSHOT SNAPSHOT
2.6.7 GA Reference Doc. API Doc.
2.5.13-SNAPSHOT SNAPSHOT
2.5.12 GA Reference Doc. API Doc.

Guides

Designed to be completed in 15-30 minutes, a guide provides quick, hands-on instructions for building a starter app for any development task with Spring.
Branch Initial Release End of Support End Commercial Support *
2.7.x
2022-05-13 2023-05-13 2024-09-13
2.6.x
2021-11-12 2022-11-12 2024-03-12
2.5.x
2021-04-14 2022-04-14 2023-08-14
2.4.x
2020-10-28 2021-10-28 2023-02-28
2.3.x
2020-05-12 2021-05-12 2022-09-12
2.2.x
2019-10-28 2020-10-28 2022-02-28

OSS support

Free security updates and bugfixes with support from the Spring community. See VMware Tanzu OSS support policy.

Commercial support

Business support from Spring experts during the OSS timeline, plus extended support after OSS End-Of-Life.
Publicly available releases for critical bugfixes and security issues when requested by customers.

Future release

Generation not yet released, timeline is subject to changes.

About commercial support (*)

This page shows the current state of project releases and does not define the commercial support policy. Please refer to the official support policy for more information.