Releases: spring-projects/spring-data-jpa
Releases · spring-projects/spring-data-jpa
3.1.1
📗 Links
⭐ New Features
- Polishing. #3021
- Add support for Hibernate CTE in HQL parser #2981
- Projection fails when using subquery [DATAJPA-1713] #2008
🐞 Bug Fixes
- JPQL parser can't handle an attribute named "value" #3028
- Hibernate duration literals such as "5 MINUTE" no longer pass validation #3025
- CAST(:param as java.util.UUID) no longer passes validation #3024
- Keyset positionFunction does not retain directional state and uses position of one-off #2999
- Keyset-scrolling queries add identifier columns twice when
Sort
already sorts by Id #2996 - BadJpqlGrammarException when using column names coinciding with functions in projection #2994
existsById(…)
fails withNullPointerException
when metadata does not exist #2991- “Floor” (and likely other reserved identifiers) cannot be used as entity name or entity field name in custom queries #2982
- NPE in
HqlQueryTransformer.isSubquery
for INSERT from SELECT HQL #2977 - BadJpqlGrammarException: Line 1:236 token recognition error at: '!'; #2970
- Spring Data JPA generates incorrect JPQL query for pagination request #2969
- BadJpqlGrammarException in 3.1.0 when using "round" in a select query #2964
- BadJpqlGrammarException with latest relase when using ORDER BY NULLS LAST #2962
- Pageable Always Adding From Entity to Sort Field Name #2960
- Resolve handling of ESCAPE clause with LIKE queries on EclipseLink #2955
- Resolve handling of ESCAPE clause with LIKE queries on Hibernate #2954
- Calling stored procedures can leave open cursors #2915
- Remove Shared
EntityManager
'ssynthetic
setting to support bean post processing. #2730
📔 Documentation
- Add section to ref docs highlighting alternate strategies for implementing queries. #3005
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.0.7
📗 Links
⭐ New Features
- Rewrite queries using LIKE with wildcards using CONCAT. #2939
🐞 Bug Fixes
existsById(…)
fails withNullPointerException
when metadata does not exist #2991- Calling stored procedures can leave open cursors #2915
- Remove Shared
EntityManager
'ssynthetic
setting to support bean post processing. #2730
📔 Documentation
- Add section to ref docs highlighting alternate strategies for implementing queries. #3005
🔨 Dependency Upgrades
2.7.13
3.1.0
📗 Links
⭐ New Features
- Rewrite queries using LIKE with wildcards using CONCAT. #2939
- Adapt to API changes in
ScrollPosition
#2931
🐞 Bug Fixes
- SimpleJPARepository: Methods accessing metadata.getComment() without Null-Check produce NPE #2716
📔 Documentation
- Document that
JpaSpecificationExecutor.delete(…)
usesCriteriaDelete
and henceCascades
are not considered #2936
3.0.6
📗 Links
🐞 Bug Fixes
- SimpleJPARepository: Methods accessing metadata.getComment() without Null-Check produce NPE #2716
📔 Documentation
- Document that
JpaSpecificationExecutor.delete(…)
usesCriteriaDelete
and henceCascades
are not considered #2936
🔨 Dependency Upgrades
- Upgrade to Hibernate 6.1.7.Final. #2922
2.7.12
📗 Links
🐞 Bug Fixes
- ClassNotFound Exception for org.hibernate.jpa.TypedParameterValue in QueryParameterSetter when using Eclipselink JPA Provider #2902
3.1.0-RC1
📗 Links
⭐ New Features
- Accept additional function argument literals for correct native query with pageable rewrite #2884
- Add support for Scroll API #2878
- Consistently document
JpaSpecificationExecutor
to require non-nullSpecification
s #2877 - Support sorting by aliased columns #2863
- Adopt to changed Hibernate behavior returning domain types using tuple queries #2815
- Missing reflection hint for AbstractPersistable #2735
🐞 Bug Fixes
- HQL query "where exists (subquery)" fails #2864
- ClassCastException in PersistenceProvider$HibernateScrollableResultsIterator.next with GraalVM native-image #2848
SimpleJpaRepository.delete(Specification<T> spec)
throwsNullPointerException
#2796- count query fails to be auto generated when using
@Query
annotation with fetch join #2348 - StringQuery incorrect alias definition for hql have join query [DATAJPA-1781] #2074
- CountQuery fails to be auto generated when not using explicit alias [DATAJPA-1737] #2032
🔨 Dependency Upgrades
3.0.5
📗 Links
⭐ New Features
- Accept additional function argument literals for correct native query with pageable rewrite #2884
- Adopt to changed Hibernate behavior returning domain types using tuple queries #2815
- Missing reflection hint for AbstractPersistable #2735
🐞 Bug Fixes
- ClassCastException in PersistenceProvider$HibernateScrollableResultsIterator.next with GraalVM native-image #2848
SimpleJpaRepository.delete(Specification<T> spec)
throwsNullPointerException
#2796
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.1 #2906
2.7.11
3.1.0-M3
📗 Links
⭐ New Features
- Improve performance of PersistenceProvider.condense function #2860
🐞 Bug Fixes
- NoClassDefFoundError TypedParameterValue when using eclipselink #2857
- FetchableFluentQueryByPredicate does not respect project() call on queryFunction #2820
NullPointerException
in version 3.0.2 when using modifying native queries orSELECT
queries that Spring Data cannot parse #2812
📔 Documentation
- Improve docs on transactionality of methods declared on repository interfaces #2868
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.0 #2809
❤️ Contributors
We'd like to thank all the contributors who worked on this release!