3.2.0-M1
Pre-release
Pre-release
📗 Links
⭐ New Features
- Add support for
Limit
#3052 - Reuse parsed SQL statement for alias and projection detection #3039
- Polishing. #3021
- Add support for Hibernate CTE in HQL parser #2981
- Projection fails when using subquery [DATAJPA-1713] #2008
🐞 Bug Fixes
- BadJpqlGrammarException with attribute labelled 'type' #3062
- Using operator '!=' throws BadJpqlGrammarException in spring data jpa 3.1.1 #3061
@Query
with Sort/Pageable not adding aliases properly in ORDER BY clause #3054- BadJpqlGrammarException in
@Query
with escape statement #3040 @Query(value="TRUNCATE TABLE ...", nativeQuery = true)
fails withClassCastException
#3038- 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
- Derived query applies
OffsetScrollPosition
only if the query is limited #3015 - 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
- Upgrade to H2 2.2.220 #3059
- Upgrade to Maven Wrapper 3.9.3 #3049
- Upgrade to Hibernate 6.2.4.Final #3029
- Upgrade to Maven Wrapper 3.9.2 #3019
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
- @dependabot[bot]
- @quaff