Skip to content

Releases: spring-projects/spring-data-jpa

3.5.0-M2

14 Mar 08:34
8294336
Compare
Choose a tag to compare
3.5.0-M2 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Reuse existing fetch joins in QueryUtils when creating order by expressions #2756

🐞 Bug Fixes

  • Regression using HQL queries with paging and implicit select #3792
  • No argument for named parameter using parameter multiple times with IN binding #3784
  • Invalid JoinType in QueryByExamplePredicateBuilder when using MatchMode ANY #3763

📔 Documentation

  • Spring-Data @Version-Property inspection does not work with primitives for Entity State Detection #3798

🔨 Dependency Upgrades

  • Upgrade to Hibernate 6.6.10.Final #3809
  • Upgrade to Hibernate 6.6.9.Final #3788

❤️ Contributors

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

3.4.4

14 Mar 07:20
3ea732c
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Reuse existing fetch joins in QueryUtils when creating order by expressions #2756

🐞 Bug Fixes

  • Regression using HQL queries with paging and implicit select #3792
  • No argument for named parameter using parameter multiple times with IN binding #3784
  • Invalid JoinType in QueryByExamplePredicateBuilder when using MatchMode ANY #3763

📔 Documentation

  • Spring-Data @Version-Property inspection does not work with primitives for Entity State Detection #3798

🔨 Dependency Upgrades

  • Upgrade to Hibernate 6.6.10.Final #3809
  • Upgrade to Hibernate 6.6.9.Final #3788

❤️ Contributors

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

3.3.10

14 Mar 06:38
996f2fa
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Sorting of Pageable.unpaged(sort) is ignored by JPA Repository #3476

🐞 Bug Fixes

  • No argument for named parameter using parameter multiple times with IN binding #3784
  • Add sorting ability for unpaged request in QuerydslPredicateExecutor [DATACMNS-1405] #3761

📔 Documentation

  • Spring-Data @Version-Property inspection does not work with primitives for Entity State Detection #3798

❤️ Contributors

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

3.5.0-M1

14 Feb 11:25
596042d
Compare
Choose a tag to compare
3.5.0-M1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Add support for findBy(…) using Querydsl Predicate that returns a Slice #3764
  • Refine StringQuery parameter 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 NULL when argument is null #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 avoid StackOverflowError with many entities #2870
  • Implement class-based DTO projections for Fluent API #2327

🐞 Bug Fixes

  • FluentQuery.page(Pagable pagable) does not consider Pageable.sort #3762
  • Add sorting ability for unpaged request in QuerydslPredicateExecutor [DATACMNS-1405] #3761
  • Using the by keyword on a duration object causes a BadJpqlGrammarException #3757
  • ParameterBinder creation fails during count query derivation of declared queries using parameters only in ORDER 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 CONFLICT clause #3689
  • Empty attributePaths on @EntityGraph produces exception #3682
  • Should the @Transactional annotation 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
  • QueryTypeMismatchException if 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

14 Feb 09:42
edbd726
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • java.lang.IllegalStateException is thrown by invoking findBy method #3294

🐞 Bug Fixes

  • FluentQuery.page(Pagable pagable) does not consider Pageable.sort #3762
  • Add sorting ability for unpaged request in QuerydslPredicateExecutor [DATACMNS-1405] #3761
  • Using the by keyword on a duration object causes a BadJpqlGrammarException #3757
  • ParameterBinder creation fails during count query derivation of declared queries using parameters only in ORDER 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

14 Feb 08:53
cfcdc9f
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • java.lang.IllegalStateException is thrown by invoking findBy method #3294

🐞 Bug Fixes

  • ParameterBinder creation fails during count query derivation of declared queries using parameters only in ORDER BY #3756

📔 Documentation

  • deleteBy operation easily triggers OOM and has horrible performance #3177

4.0.0-M1

24 Jan 09:53
c238ae5
Compare
Choose a tag to compare
4.0.0-M1 Pre-release
Pre-release

📗 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 CriteriaQuery with String-based queries #3588
  • Consider NULLS precedence using Sort for 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 avoid StackOverflowError with 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

17 Jan 10:40
363bae1
Compare
Choose a tag to compare

📗 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

  • Upgrade to Eclipselink 4.0.5 #3743
  • Upgrade to Hibernate 6.6.4.Final #3742

3.3.8

17 Jan 09:35
98bbd88
Compare
Choose a tag to compare

📗 Links

📔 Documentation

  • Document limitations of non-supported collection attributes in Query By Example #3740

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!