Skip to content

Releases: spring-projects/spring-data-jpa

3.4.1

13 Dec 08:38
72bd086
Compare
Choose a tag to compare

📗 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 CONFLICT clause #3689
  • Empty attributePaths on @EntityGraph produces exception #3682
  • Native query projection with records fail with ConverterNotFoundException #2757

📔 Documentation

  • Pageable warnings incosistent or wrong #3660
  • QueryTypeMismatchException if 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

13 Dec 09:54
ea4ddbd
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • JSqlParserQueryEnhancer produces invalid query that JSqlParser can't parse #3707

📔 Documentation

  • QueryTypeMismatchException if the DTO has a no-args constructor #3216

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.4.0

15 Nov 13:14
eb98159
Compare
Choose a tag to compare

📗 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() returns false for some_function(…) IS TRUE #3628
  • limit in FetchableFluentQueryBySpecification addes duplicate order 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 and cast(... as ...) together #3536
  • [Virtual Threads] Possible Thread Pinning in PartTreeJpaQuery.QueryPreparer#createQuery() #3505
  • Missing @Transactional on SimpleJpaRepository.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 also ResultSet no longer returns Map for OUT params #2381
  • Procedure with one output parameter [DATAJPA-1442] #1759

📔 Documentation

  • Reflect IS NULL/IS NOT NULL usage for derived queries using null 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!

3.3.6

15 Nov 10:48
243a93b
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • NPE in HqlQueryTransformer.isSubquery for UPDATE HQL #3649
  • findLastChangeRevision() returns the wrong result in a multi-node env #3643
  • @Procedure returning also ResultSet no longer returns Map for OUT params #2381
  • Procedure with one output parameter [DATAJPA-1442] #1759

📔 Documentation

  • Reflect IS NULL/IS NOT NULL usage for derived queries using null as 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!

3.2.12

15 Nov 09:24
ee5b762
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • NPE in HqlQueryTransformer.isSubquery for UPDATE HQL #3649
  • findLastChangeRevision() returns the wrong result in a multi-node env #3643
  • @Procedure returning also ResultSet no longer returns Map for OUT params #2381
  • Procedure with one output parameter [DATAJPA-1442] #1759

📔 Documentation

  • Reflect IS NULL/IS NOT NULL usage for derived queries using null as argument #3674
  • How to pass collection to stored procedure when using @Procedure #3081

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.9 #3665

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.4.0-RC1

18 Oct 10:49
d242c38
Compare
Choose a tag to compare
3.4.0-RC1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Add support for value expressions in repository query methods #3619
  • Provide an option to disable JSqlParserQueryEnhancer #2989

🐞 Bug Fixes

  • QueryEnhancer.hasConstructorExpression() returns false for some_function(…) IS TRUE #3628

📔 Documentation

  • Allow returning Map from the repository methods #3636

🔨 Dependency Upgrades

  • Upgrade to Hibernate 6.6.1.Final #3613

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.3.5

18 Oct 09:39
7ff86e1
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Provide an option to disable JSqlParserQueryEnhancer #2989

🐞 Bug Fixes

  • Backport fix order by rendering for queries containing UNION #3630
  • QueryEnhancer.hasConstructorExpression() returns false for some_function(…) IS TRUE #3628

📔 Documentation

  • Allow returning Map from the repository methods #3636

🔨 Dependency Upgrades

  • Upgrade to Hibernate 6.5.3.Final #3617
  • Upgrade to Hibernate 6.6.1.Final #3613

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.2.11

18 Oct 08:17
055f505
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Provide an option to disable JSqlParserQueryEnhancer #2989

🐞 Bug Fixes

  • Backport fix order by rendering for queries containing UNION #3630
  • QueryEnhancer.hasConstructorExpression() returns false for some_function(…) IS TRUE #3628

📔 Documentation

  • Allow returning Map from the repository methods #3636

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.4.0-M1

13 Sep 10:43
e4ce7eb
Compare
Choose a tag to compare
3.4.0-M1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • 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

🐞 Bug Fixes

  • limit in FetchableFluentQueryBySpecification addes duplicate order by clause #3600
  • findLastChangeRevision doesn't return last revision if two revisions with exactly the same timestamp exist #3579
  • 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 and cast(... as ...) together #3536
  • [Virtual Threads] Possible Thread Pinning in PartTreeJpaQuery.QueryPreparer#createQuery() #3505
  • Missing @Transactional on SimpleJpaRepository.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

📔 Documentation

  • 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

🔨 Dependency Upgrades

  • 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.4

13 Sep 09:40
7edbb1b
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • limit in FetchableFluentQueryBySpecification addes duplicate order by clause #3600
  • findLastChangeRevision doesn't return last revision if two revisions with exactly the same timestamp exist #3579

📔 Documentation

  • Reorder documentation of class-based projection support for JPA Native Queries #3599

❤️ Contributors

We'd like to thank all the contributors who worked on this release!