NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central
Maven Central, #1324 by repository stars
Parent module for Spring Data JPA repositories.
Latest stable
4.1.2
Last release 1 months ago
22 Oct 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
107 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Spring Data JPA 4.2.0 Reference documentation
@Query startup validation using static projections #4362Range\<Score\> fails in vector search queries #4385spring.jpa.properties with inverted precedence #4379% in HQL expressions #4360SELECT DISTINCT mangles select expressions into invalid JPQL #4341ID and VERSION functions in JPQL and EQL #4336Range\<Score\> lower bound handling in vector search queries #4310We'd like to thank all the contributors who worked on this release!
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Spring Data JPA 4.2.0 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.2.0 Reference documentation
REGEXP modifier in HQL LIKE predicates #4295MEMBER OF #4278IS NULL rendering of keyset queries using Querydsl #4275We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.1.2 Reference documentation
Range\<Score\> fails in vector search queries #4385spring.jpa.properties with inverted precedence #4379% in HQL expressions #4360SELECT DISTINCT mangles select expressions into invalid JPQL #4341ID and VERSION functions in JPQL and EQL #4336Range\<Score\> lower bound handling in vector search queries #4310We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.1.1 Reference documentation
REGEXP modifier in HQL LIKE predicates #4295MEMBER OF #4278IS NULL rendering of keyset queries using Querydsl #4275We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.1.0 Reference documentation
ConversionFailedException #4251JpaSort in Querydsl sorting #4211ELSE optional in CASE expressions #4142ReturnedType.inputProperties access #4088Expressions utility for type-safe Criteria Query Expression resolution #4086TREAT, LOCATE, and subqueries from collection members #4272EXTRACT(TIME FROM ...) in JpaSort order expressions #4255COUNT(*) function alias in QueryUtils #4249COUNT(*) AS alias is not detected by QueryUtils FUNCTION_PATTERN #4242java.sql package #4231ConverterNotFoundException #4230java.sql.Clob #4228SimpleJpaRepository.existsById(…) returns false when multiple rows exist for the same ID #4227List #4223AotMetamodel #4208IDENTITY identifier generation #4207findBy(…) #4172IS NULL #4171id breaks EclipseLink queries #4167Specification nullness declarations in SimpleJpaRepository and JpaSpecificationExecutor #4131hibernate.hbm2ddl.auto=update #4130NullPointerException in Query.setParameter(…) binding null to IN parameters #4112executeUpdate for derived @Modifying queries #4102@EntityGraph not applied to AOT repository query methods #4097IncorrectResultSizeDataAccessException running GROUP BY count query #4096Set #4094InvalidDataAccessApiUsageException using IgnoreCase for nested property #4087JpaSpecificationExecutor.findBy(…) returns join product of nested relations #3908core-concepts link #4194JPASpecificationExecutor #2499We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.1.0 Reference documentation
JpaSort in Querydsl sorting #4211java.sql package #4231ConverterNotFoundException #4230java.sql.Clob #4228SimpleJpaRepository.existsById(…) returns false when multiple rows exist for the same ID #4227List #4223We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.1.0 Reference documentation
AotMetamodel #4208IDENTITY identifier generation #4207core-concepts link #4194We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.1 Reference documentation
ELSE optional in CASE expressions #4142ReturnedType.inputProperties access #4088Expressions utility for type-safe Criteria Query Expression resolution #4086findBy(…) #4172IS NULL #4171id breaks EclipseLink queries #4167Specification nullness declarations in SimpleJpaRepository and JpaSpecificationExecutor #4131hibernate.hbm2ddl.auto=update #4130NullPointerException in Query.setParameter(…) binding null to IN parameters #4112executeUpdate for derived @Modifying queries #4102@EntityGraph not applied to AOT repository query methods #4097IncorrectResultSizeDataAccessException running GROUP BY count query #4096Set #4094InvalidDataAccessApiUsageException using IgnoreCase for nested property #4087JpaSpecificationExecutor.findBy(…) returns join product of nested relations #3908JPASpecificationExecutor #2499We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.0.8 Reference documentation
Range\<Score\> fails in vector search queries #4385spring.jpa.properties with inverted precedence #4379SELECT DISTINCT mangles select expressions into invalid JPQL #4341ID and VERSION functions in JPQL and EQL #4336Range\<Score\> lower bound handling in vector search queries #4310We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.0.7 Reference documentation
REGEXP modifier in HQL LIKE predicates #4295MEMBER OF #4278IS NULL rendering of keyset queries using Querydsl #4275We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.0.6 Reference documentation
ConversionFailedException #4251TREAT, LOCATE, and subqueries from collection members #4272EXTRACT(TIME FROM ...) in JpaSort order expressions #4255COUNT(*) function alias in QueryUtils #4249COUNT(*) AS alias is not detected by QueryUtils FUNCTION_PATTERN #4242We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.0.0 Reference documentation
JpaSort in Querydsl sorting #4211java.sql package #4231ConverterNotFoundException #4230java.sql.Clob #4228SimpleJpaRepository.existsById(…) returns false when multiple rows exist for the same ID #4227List #4223We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.0.0 Reference documentation
AotMetamodel #4208IDENTITY identifier generation #4207core-concepts link #4194We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.0 Reference documentation
Expressions utility for type-safe Criteria Query Expression resolution #4086findBy(…) #4172IS NULL #4171id breaks EclipseLink queries #4167JpaSpecificationExecutor.findBy(…) returns join product of nested relations #3908Spring Data JPA 4.0 Reference documentation
findByNameIn(List) fails with IllegalArgumentException using EclipseLink #4145Specification nullness declarations in SimpleJpaRepository and JpaSpecificationExecutor #4131hibernate.hbm2ddl.auto=update #4130NullPointerException in Query.setParameter(…) binding null to IN parameters #4112We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.0 Reference documentation
ReturnedType.inputProperties access #4088NullPointerException in Query.setParameter(…) binding null to IN parameters #4112executeUpdate for derived @Modifying queries #4102@EntityGraph not applied to AOT repository query methods #4097IncorrectResultSizeDataAccessException running GROUP BY count query #4096Set #4094InvalidDataAccessApiUsageException using IgnoreCase for nested property #4087JPASpecificationExecutor #2499Remove deprecated API that is marked for removal #4057
Streamable from AOT repository methods #4070InvalidDataAccessApiUsageException for JpaOrder validation #4062PredicateSpecification for improved reuse #4035TypeCollectorFilters to filter $$_hibernate fields and methods #4014@RevisionTimestamp property name #4003delete<...>ById(id: MyId) method #3995Specification.where(Specification) #3992Specification.unrestricted() to 3.5.x #3942SharedEntityManager bean registration in favor of JPA 3.2 qualified EntityManager injection #3926SELECT clause in JPQL optional #3903SELECT clause in JPQL optional #3902EntityManager initialization during PersistenceProvider lookup #3885LIMIT/OFFSET without ordering #3882delete(Predicate) to QuerydslJpaPredicateExecutor #3878delete(Predicate) to QuerydslJpaPredicateExecutor #3877EntityManager for AOT contribution #3876LocalVariableNameFactory in repository contributor #3875JpaRepositoryFragmentsContributor in JPA Repository Factory and Repository Factory Bean #3874from Clause #3864@EnableJpaRepositories configuration for AOT processing #3838Query.getSingleResultOrNull() #3701CriteriaQuery with String-based queries #3653DeclaredQuery to decouple the query definition from its introspected state #3622CriteriaQuery with String-based JPQL queries #3588NULLS precedence using Sort for Criteria Queries #3587QueryEnhancerSelector to configure which QueryEnhancerFactory to use #3527EntityManager access to avoid conflicts with Hibernate-native multi-tenancy #3425JOIN for predicates that compare the primary key of a @ManyToOne relationship #3349JpaSort.unsafe(…) used with Specifications to order-by Expression #3172@RevisionTimestamp property name #2850IllegalArgumentException it they already are one #2736PropertyPath and TypeInformation types to core package #3393JpqlQueryBuilder does not consider @Entity name #4036StringAotQuery from EntityMetadata #4030Specification.unrestricted() in Specification.not(..) #4024Specification.unrestricted() semantics #4023deleteBy returning primitive number queries fail with ClassCastException #4015CYCLE without space between SET and identifier #4012findRevisions throws exception when using Pageable.unpaged() #3999/* ... */ comments in @Query fail to parse when migrating from Spring Boot 3.3.5 to Spring Boot 3.5.5 / Spring Data JPA (HQL parser mismatch on /) #3997SimpleJpaRepository.deleteAllByIdInBatch(…) JPQL #3993IN on batch delete by Id #3990JpqlQueryBuilder #3989QueryByExampleExecutor.findBy() #3986QueryUtils.applyAndBind(…) using IN(entities)does not work with EclipseLink #3983ExpressionBasedStringQuery does not expand #{#entityName} for native queries #3979@Nullable annotations to JpaSpecificationExecutor.findBy(…) #3974PersistenceProvider.fromEntityManagerFactory(…) throws NullPointerException using Hotswap Agent #3923QueryUtils fails to detect aliases when SELECT items are comma-separated without spaces #3911JpaSpecificationExecutor.findBy(…) returns join product of nested relations #3908?| erroneously detected as parameter bind marker #3907LIKE with ESCAPE clause #3873JSqlParserQueryEnhancer fails with ClassCastException during query introspection #3869CAST function #3863Specification.not() fails with NullPointerException when other Specification returns null #3849QueryRewriter not applied to count queries #3801@Enable…Repositories #3366We'd like to thank all the contributors who worked on this release!
Remove deprecated API that is marked for removal #4057
InvalidDataAccessApiUsageException for JpaOrder validation #4062PropertyPath and TypeInformation types to core package #3393We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.0 Reference documentation
PredicateSpecification for improved reuse #4035TypeCollectorFilters to filter $$_hibernate fields and methods #4014@RevisionTimestamp property name #4003@RevisionTimestamp property name #2850IllegalArgumentException it they already are one #2736JpqlQueryBuilder does not consider @Entity name #4036StringAotQuery from EntityMetadata #4030Specification.unrestricted() in Specification.not(..) #4024Specification.unrestricted() semantics #4023deleteBy returning primitive number queries fail with ClassCastException #4015CYCLE without space between SET and identifier #4012findRevisions throws exception when using Pageable.unpaged() #3999@Enable…Repositories #3366We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.0 Reference documentation
delete<...>ById(id: MyId) method #3995Specification.where(Specification) #3992/* ... */ comments in @Query fail to parse when migrating from Spring Boot 3.3.5 to Spring Boot 3.5.5 / Spring Data JPA (HQL parser mismatch on /) #3997SimpleJpaRepository.deleteAllByIdInBatch(…) JPQL #3993IN on batch delete by Id #3990QueryByExampleExecutor.findBy() #3986QueryUtils.applyAndBind(…) using IN(entities)does not work with EclipseLink #3983ExpressionBasedStringQuery does not expand #{#entityName} for native queries #3979We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.0 Reference documentation
JOIN for predicates that compare the primary key of a @ManyToOne relationship #3349@Nullable annotations to JpaSpecificationExecutor.findBy(…) #3974We'd like to thank all the contributors who worked on this release!
Deprecate SharedEntityManager bean registration in favor of JPA 3.2 qualified EntityManager injection #3926
Specification.unrestricted() to 3.5.x #3942SharedEntityManager bean registration in favor of JPA 3.2 qualified EntityManager injection #3926SELECT clause in JPQL optional #3903SELECT clause in JPQL optional #3902EntityManager initialization during PersistenceProvider lookup #3885delete(Predicate) to QuerydslJpaPredicateExecutor #3878delete(Predicate) to QuerydslJpaPredicateExecutor #3877EntityManager access to avoid conflicts with Hibernate-native multi-tenancy #3425PersistenceProvider.fromEntityManagerFactory(…) throws NullPointerException using Hotswap Agent #3923QueryUtils fails to detect aliases when SELECT items are comma-separated without spaces #3911JpaSpecificationExecutor.findBy(…) returns join product of nested relations #3908?| erroneously detected as parameter bind marker #3907We'd like to thank all the contributors who worked on this release!
Adopt to deprecation removals in Commons #3683
NullHandling in JSqlParserQueryEnhancer #3886LIMIT/OFFSET without ordering #3882EntityManager for AOT contribution #3876LocalVariableNameFactory in repository contributor #3875JpaRepositoryFragmentsContributor in JPA Repository Factory and Repository Factory Bean #3874from Clause #3864@EnableJpaRepositories configuration for AOT processing #3838Query.getSingleResultOrNull() #3701DeclaredQuery to decouple the query definition from its introspected state #3622CriteriaQuery with String-based JPQL queries #3588NULLS precedence using Sort for Criteria Queries #3587JpaSort.unsafe(…) used with Specifications to order-by Expression #3172LIKE with ESCAPE clause #3873JSqlParserQueryEnhancer fails with ClassCastException during query introspection #3869CAST function #3863Specification.not() fails with NullPointerException when other Specification returns null #3849QueryRewriter not applied to count queries #3801We'd like to thank all the contributors who worked on this release!
Spring Data JPA 4.0 Reference documentation
DeclaredQuery to decouple the query definition from its introspected state #3622JpaSort.unsafe(…) used with Specifications to order-by Expression #3172We'd like to thank all the contributors who worked on this release!
Adopt to deprecation removals in Commons #3683
.project(...) #3716Query.getSingleResultOrNull() #3701CriteriaQuery with String-based queries #3588NULLS precedence using Sort for Criteria Queries #3587QueryUtils.applyAndBind(…) to avoid StackOverflowError with many entities #2870We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.5.13 Reference documentation
MEMBER OF #4278We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.5.12 Reference documentation
TREAT, LOCATE, and subqueries from collection members #4272We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.5.0 Reference documentation
JpaSort in Querydsl sorting #4211SimpleJpaRepository.existsById(…) returns false when multiple rows exist for the same ID #4227We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.5.0 Reference documentation
core-concepts link #4194We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.5 Reference documentation
findBy(…) #4172JpaSpecificationExecutor.findBy(…) returns join product of nested relations #3908Spring Data JPA 3.5 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.5 Reference documentation
Spring Data JPA 3.5 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.5 Reference documentation
IllegalArgumentException it they already are one #2736Specification.unrestricted() in Specification.not(..) #4024Specification.unrestricted() semantics #4023deleteBy returning primitive number queries fail with ClassCastException #4015CYCLE without space between SET and identifier #4012findRevisions throws exception when using Pageable.unpaged() #3999@Enable…Repositories #3366We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.5 Reference documentation
delete<...>ById(id: MyId) method #3995/* ... */ comments in @Query fail to parse when migrating from Spring Boot 3.3.5 to Spring Boot 3.5.5 / Spring Data JPA (HQL parser mismatch on /) #3997SimpleJpaRepository.deleteAllByIdInBatch(…) JPQL #3993IN on batch delete by Id #3990QueryUtils.applyAndBind(…) using IN(entities)does not work with EclipseLink #3983ExpressionBasedStringQuery does not expand #{#entityName} for native queries #3979We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.5 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.5 Reference documentation
Specification.unrestricted() to 3.5.x #3942PersistenceProvider.fromEntityManagerFactory(…) throws NullPointerException using Hotswap Agent #3923We'd like to thank all the contributors who worked on this release!
Specification.where(spec) is deprecated without further notice #3893
EntityManager initialization during PersistenceProvider lookup #3885EntityManager access to avoid conflicts with Hibernate-native multi-tenancy #3425QueryUtils fails to detect aliases when SELECT items are comma-separated without spaces #3911JpaSpecificationExecutor.findBy(…) returns join product of nested relations #3908?| erroneously detected as parameter bind marker #3907Specification.where(spec) is deprecated without further notice #3893We'd like to thank all the contributors who worked on this release!
Adopt to deprecated QueryMethod constructor #3833
NullHandling in JSqlParserQueryEnhancer #3886LIMIT/OFFSET without ordering #3882QueryMethod constructor #3833NullHandling in QueryUtils #3811findBy(…) using Querydsl Predicate that returns a Slice #3764StringQuery parameter index allocation #3758.project(...) #3716IS NOT NULL when argument is null #3675QueryUtils.applyAndBind(…) to avoid StackOverflowError with many entities #2870fetch joins in QueryUtils when creating order by expressions #2756LIKE with ESCAPE clause #3873JSqlParserQueryEnhancer fails with ClassCastException during query introspection #3869CAST function #3863Specification.not() fails with NullPointerException when other Specification returns null #3849IN expressions #3834QueryRewriter not applied to count queries #3801No argument for named parameter using parameter multiple times with IN binding #3784FluentQuery.page(Pagable pagable) does not consider Pageable.sort #3762by keyword on a duration object causes a BadJpqlGrammarException #3757ParameterBinder creation fails during count query derivation of declared queries using parameters only in ORDER BY #3756SELECT COUNT(null) query #3744INSERT … ON CONFLICT clause #3689@EntityGraph produces exception #3682@Transactional annotation be added to the delete method in the SimpleJpaRepository class, which takes a parameter of type Specification<T>? Otherwise, it may cause a JDBC connection read-only exception when calling this method due to the @Transactional(readOnly = true) annotation on the class. #3188ConverterNotFoundException #2757@Version-Property inspection does not work with primitives for Entity State Detection #3798QueryTypeMismatchException if the DTO has a no-args constructor #3216We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.4 Reference documentation
Spring Data JPA 3.4 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.4 Reference documentation
IllegalArgumentException it they already are one #2736Specification.unrestricted() in Specification.not(..) #4024Specification.unrestricted() semantics #4023CYCLE without space between SET and identifier #4012findRevisions throws exception when using Pageable.unpaged() #3999@Enable…Repositories #3366We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.4 Reference documentation
/* ... */ comments in @Query fail to parse when migrating from Spring Boot 3.3.5 to Spring Boot 3.5.5 / Spring Data JPA (HQL parser mismatch on /) #3997SimpleJpaRepository.deleteAllByIdInBatch(…) JPQL #3993IN on batch delete by Id #3990ExpressionBasedStringQuery does not expand #{#entityName} for native queries #3979We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.4 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.4 Reference documentation
Spring Data JPA 3.4 Reference documentation
QueryUtils fails to detect aliases when SELECT items are comma-separated without spaces #3911?| erroneously detected as parameter bind marker #3907We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.4 Reference documentation
LIMIT/OFFSET without ordering #3882LIKE with ESCAPE clause #3873JSqlParserQueryEnhancer fails with ClassCastException during query introspection #3869CAST function #3863Specification.not() fails with NullPointerException when other Specification returns null #3849We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.4 Reference documentation
IN expressions #3834QueryRewriter not applied to count queries #3801We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.4 Reference documentation
fetch joins in QueryUtils when creating order by expressions #2756No argument for named parameter using parameter multiple times with IN binding #3784@Version-Property inspection does not work with primitives for Entity State Detection #3798We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.4 Reference documentation
FluentQuery.page(Pagable pagable) does not consider Pageable.sort #3762by keyword on a duration object causes a BadJpqlGrammarException #3757ParameterBinder creation fails during count query derivation of declared queries using parameters only in ORDER BY #3756We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.4 Reference documentation
SELECT COUNT(null) query #3744Spring Data JPA 3.4 Reference documentation
INSERT … ON CONFLICT clause #3689@EntityGraph produces exception #3682ConverterNotFoundException #2757QueryTypeMismatchException if the DTO has a no-args constructor #3216We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.4 Reference documentation
@NativeQuery annotation as alias for @Query(nativeQuery=true) #3155JSqlParserQueryEnhancer #2989QueryEnhancer.hasConstructorExpression() returns false for some_function(…) IS TRUE #3628limit in FetchableFluentQueryBySpecification addes duplicate order by clause #3600NamedQuery creation lead to query derivation #3550distinct and cast(... as ...) together #3536PartTreeJpaQuery.QueryPreparer#createQuery() #3505@Transactional on SimpleJpaRepository.delete(spec) #3499@Procedure returning also ResultSet no longer returns Map for OUT params #2381IS NULL/IS NOT NULL usage for derived queries using null as argument #3674@Procedure #3081We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.3 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.3 Reference documentation
Spring Data JPA 3.3 Reference documentation
IN expressions #3834We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.3 Reference documentation
No argument for named parameter using parameter multiple times with IN binding #3784@Version-Property inspection does not work with primitives for Entity State Detection #3798We'd like to thank all the contributors who worked on this release!
Spring Data JPA 3.3 Reference documentation
ParameterBinder creation fails during count query derivation of declared queries using parameters only in ORDER BY #3756Spring Data JPA 3.3 Reference documentation
One column per quarter.