Releases: spring-projects/spring-data-jpa
Releases · spring-projects/spring-data-jpa
3.5.0-M1
📗 Links
⭐ New Features
- Add support for
findBy(…)using QuerydslPredicatethat returns aSlice#3764 - Refine
StringQueryparameter index allocation #3758 - Improve compatibility to use OpenFeign's Querydsl fork #3748
- Support custom countSpec in SimpleJpaRepository.findAll #3727
- FluentQuery ignores
.project(...)#3716 - NEGATING_SIMPLE_PROPERTY should use
IS NOT NULLwhen argument isnull#3675 - Refine Specification API #3578
- java.lang.IllegalStateException is thrown by invoking findBy method #3294
- Rewrite string-queries to use constructor expressions when return type is DTO #3076
- Improve
QueryUtils.applyAndBind(…)to avoidStackOverflowErrorwith many entities #2870 - Implement class-based DTO projections for Fluent API #2327
🐞 Bug Fixes
FluentQuery.page(Pagable pagable)does not considerPageable.sort#3762- Add sorting ability for unpaged request in QuerydslPredicateExecutor [DATACMNS-1405] #3761
- Using the
bykeyword on a duration object causes aBadJpqlGrammarException#3757 ParameterBindercreation fails during count query derivation of declared queries using parameters only inORDER BY#3756- SELECT HQL without entity alias results in
SELECT COUNT(null)query #3744 - Missing HQL support for JDBC literals #3739
- Generating countQuery for queries with CTE fails with actual pagination #3726
- Fix Hql-Queries using CEILING and LN. #3711
- JSqlParserQueryEnhancer produces invalid query that JSqlParser can't parse #3707
- HQL parser rejects
INSERT … ON CONFLICTclause #3689 - Empty attributePaths on
@EntityGraphproduces exception #3682 - Should the
@Transactionalannotation be added to the delete method in the SimpleJpaRepository class, which takes a parameter of type Specification? Otherwise, it may cause a JDBC connection read-only exception when calling this method due to the@Transactional(readOnly = true) annotation on the class. #3188 - Native query projection with records fail with
ConverterNotFoundException#2757
📔 Documentation
- Refine Querydsl documentation #3774
- Document limitations of non-supported collection attributes in Query By Example #3740
- Pageable warnings incosistent or wrong #3660
QueryTypeMismatchExceptionif the DTO has a no-args constructor #3216- deleteBy operation easily triggers OOM and has horrible performance #3177
🔨 Dependency Upgrades
- Upgrade to Hibernate 6.6.7.Final #3767
- Upgrade to Eclipselink 4.0.5 #3743
- Upgrade to Hibernate 6.6.4.Final #3742
- Upgrade to Hibernate 6.6.4.Final #3710
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.4.3
📗 Links
⭐ New Features
- java.lang.IllegalStateException is thrown by invoking findBy method #3294
🐞 Bug Fixes
FluentQuery.page(Pagable pagable)does not considerPageable.sort#3762- Add sorting ability for unpaged request in QuerydslPredicateExecutor [DATACMNS-1405] #3761
- Using the
bykeyword on a duration object causes aBadJpqlGrammarException#3757 ParameterBindercreation fails during count query derivation of declared queries using parameters only inORDER BY#3756
📔 Documentation
- Refine Querydsl documentation #3774
- deleteBy operation easily triggers OOM and has horrible performance #3177
🔨 Dependency Upgrades
- Upgrade to Hibernate 6.6.7.Final #3767
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.3.9
📗 Links
⭐ New Features
- java.lang.IllegalStateException is thrown by invoking findBy method #3294
🐞 Bug Fixes
ParameterBindercreation fails during count query derivation of declared queries using parameters only inORDER BY#3756
📔 Documentation
- deleteBy operation easily triggers OOM and has horrible performance #3177
4.0.0-M1
📗 Links
⭐ New Features
- Improve compatibility to use OpenFeign's Querydsl fork #3748
- Remove commons-logging exclusion #3736
- Support custom countSpec in SimpleJpaRepository.findAll #3727
- FluentQuery ignores
.project(...)#3716 - Switch to JPA 3.2
Query.getSingleResultOrNull()#3701 - Adopt to deprecation removals in Commons #3683
- Replace derived
CriteriaQuerywith String-based queries #3588 - Consider
NULLSprecedence usingSortfor Criteria Queries #3587 - Revise Specification API #3521
- java.lang.IllegalStateException is thrown by invoking findBy method #3294
- Update JPQL and HQL parsers with newly introduced JPA 3.2 keywords #3136
- Improve
QueryUtils.applyAndBind(…)to avoidStackOverflowErrorwith many entities #2870
🔨 Dependency Upgrades
- Upgrade to Hibernate 7.0 Beta3 #3723
- Upgrade to JPA 3.2 #3673
- Upgrade to Eclipselink 5.0.0-B05 #3672
- Upgrade to Hibernate 7.0 Beta1 #3671
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.4.2
📗 Links
🐞 Bug Fixes
- SELECT HQL without entity alias results in
SELECT COUNT(null)query #3744 - Missing HQL support for JDBC literals #3739
- Generating countQuery for queries with CTE fails with actual pagination #3726
📔 Documentation
- Document limitations of non-supported collection attributes in Query By Example #3740
🔨 Dependency Upgrades
3.3.8
📗 Links
📔 Documentation
- Document limitations of non-supported collection attributes in Query By Example #3740
3.4.1
📗 Links
🐞 Bug Fixes
- Fix Hql-Queries using CEILING and LN. #3711
- JSqlParserQueryEnhancer produces invalid query that JSqlParser can't parse #3707
- HQL parser rejects
INSERT … ON CONFLICTclause #3689 - Empty attributePaths on
@EntityGraphproduces exception #3682 - Native query projection with records fail with
ConverterNotFoundException#2757
📔 Documentation
- Pageable warnings incosistent or wrong #3660
QueryTypeMismatchExceptionif the DTO has a no-args constructor #3216
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.3.7
3.4.0
📗 Links
⭐ New Features
- Add support for value expressions in repository query methods #3619
- Optimize entity deletion in SimpleJpaRepository #3564
- Support NULLS {FIRST | LAST} in JPQL queries #3529
- Support of CTE with Pageable #3504
- Sorting of Pageable.unpaged(sort) is ignored by JPA Repository #3476
- Split string query transformation into multiple parts #3326
- Redundant parameter in the Limit query #3242
- Add
@NativeQueryannotation as alias for@Query(nativeQuery=true)#3155 - Provide an option to disable
JSqlParserQueryEnhancer#2989
🐞 Bug Fixes
- NPE in HqlQueryTransformer.isSubquery for UPDATE HQL #3649
- findLastChangeRevision() returns the wrong result in a multi-node env #3643
QueryEnhancer.hasConstructorExpression()returnsfalseforsome_function(…) IS TRUE#3628limitinFetchableFluentQueryBySpecificationaddes duplicateorder byclause #3600- Fix typo in assertion message #3565
- Exceptions in
NamedQuerycreation lead to query derivation #3550 - Native query with #sort generates a broken query #3546
- Сan no longer use
distinctandcast(... as ...)together #3536 - [Virtual Threads] Possible Thread Pinning in
PartTreeJpaQuery.QueryPreparer#createQuery()#3505 - Missing
@TransactionalonSimpleJpaRepository.delete(spec)#3499 - BadJpqlGrammarException when parsing query containing lateral keyword used as property name. #3496
- Spring Data JPA generates incorrect JPQL query for sorted pagination request with UNION clause #3427
@Procedurereturning alsoResultSetno longer returnsMapfor OUT params #2381- Procedure with one output parameter [DATAJPA-1442] #1759
📔 Documentation
- Reflect
IS NULL/IS NOT NULLusage for derived queries usingnullas argument #3674 - Allow returning Map from the repository methods #3636
- Reorder documentation of class-based projection support for JPA Native Queries #3599
- Bundle Javadoc with Antora documentation site #3549
- Update docs #3544
- Fix typo in documentation #3489
- How to pass collection to stored procedure when using
@Procedure#3081
🔨 Dependency Upgrades
- Upgrade to Hibernate 6.6.2.Final #3667
- Upgrade to Maven Wrapper 3.9.9 #3663
- Upgrade to Hibernate 6.6.1.Final #3613
- Upgrade to JSqlParser 5.0 #3606
- Upgrade to Hibernate 6.6 #3574
- Upgrade to Maven Wrapper 3.9.8 #3570
- Upgrade to Hibernate 6.5.2.Final #3567
- Upgrade to Eclipselink 4.x #3507
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.3.6
📗 Links
🐞 Bug Fixes
- NPE in HqlQueryTransformer.isSubquery for UPDATE HQL #3649
- findLastChangeRevision() returns the wrong result in a multi-node env #3643
@Procedurereturning alsoResultSetno longer returnsMapfor OUT params #2381- Procedure with one output parameter [DATAJPA-1442] #1759
📔 Documentation
- Reflect
IS NULL/IS NOT NULLusage for derived queries usingnullas argument #3674 - How to pass collection to stored procedure when using
@Procedure#3081
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.9 #3664
❤️ Contributors
We'd like to thank all the contributors who worked on this release!