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
@NativeQuery
annotation 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()
returnsfalse
forsome_function(…) IS TRUE
#3628limit
inFetchableFluentQueryBySpecification
addes duplicateorder by
clause #3600- Fix typo in assertion message #3565
- Exceptions in
NamedQuery
creation lead to query derivation #3550 - Native query with #sort generates a broken query #3546
- Сan no longer use
distinct
andcast(... as ...)
together #3536 - [Virtual Threads] Possible Thread Pinning in
PartTreeJpaQuery.QueryPreparer#createQuery()
#3505 - Missing
@Transactional
onSimpleJpaRepository.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
@Procedure
returning alsoResultSet
no longer returnsMap
for OUT params #2381- Procedure with one output parameter [DATAJPA-1442] #1759
📔 Documentation
- Reflect
IS NULL
/IS NOT NULL
usage for derived queries usingnull
as 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!