Skip to content

Releases: spring-projects/spring-data-jpa

3.1.1

16 Jun 15:13
Compare
Choose a tag to compare

📗 Links

⭐ New Features

🐞 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 with NullPointerException 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's synthetic setting to support bean post processing. #2730

📔 Documentation

  • Add section to ref docs highlighting alternate strategies for implementing queries. #3005

🔨 Dependency Upgrades

  • Upgrade to Hibernate 6.2.4.Final #3029
  • Upgrade to Maven Wrapper 3.9.2 #3018

❤️ Contributors

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

3.0.7

16 Jun 13:43
6a91748
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Rewrite queries using LIKE with wildcards using CONCAT. #2939

🐞 Bug Fixes

  • existsById(…) fails with NullPointerException when metadata does not exist #2991
  • Calling stored procedures can leave open cursors #2915
  • Remove Shared EntityManager's synthetic setting to support bean post processing. #2730

📔 Documentation

  • Add section to ref docs highlighting alternate strategies for implementing queries. #3005

🔨 Dependency Upgrades

  • Upgrade to Hibernate 6.2.4.Final #3029
  • Upgrade to Maven Wrapper 3.9.2 #3017

2.7.13

16 Jun 12:59
3b4f350
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Rewrite queries using LIKE with wildcards using CONCAT. #2939

🐞 Bug Fixes

  • Calling stored procedures can leave open cursors #2915

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.2 #3016

3.1.0

12 May 12:19
0ef008a
Compare
Choose a tag to compare

📗 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(…) uses CriteriaDelete and hence Cascades are not considered #2936

3.0.6

12 May 09:11
7b8bfaa
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • SimpleJPARepository: Methods accessing metadata.getComment() without Null-Check produce NPE #2716

📔 Documentation

  • Document that JpaSpecificationExecutor.delete(…) uses CriteriaDelete and hence Cascades are not considered #2936

🔨 Dependency Upgrades

  • Upgrade to Hibernate 6.1.7.Final. #2922

2.7.12

12 May 08:21
7b897ba
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • ClassNotFound Exception for org.hibernate.jpa.TypedParameterValue in QueryParameterSetter when using Eclipselink JPA Provider #2902

3.1.0-RC1

14 Apr 17:00
01a0e5b
Compare
Choose a tag to compare
3.1.0-RC1 Pre-release
Pre-release

📗 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-null Specifications #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) throws NullPointerException #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

  • Upgrade to Hibernate 6.2.1.Final #2917
  • Upgrade to Maven Wrapper 3.9.1 #2905

3.0.5

14 Apr 15:25
528cec8
Compare
Choose a tag to compare

📗 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) throws NullPointerException #2796

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.1 #2906

2.7.11

14 Apr 14:26
654a698
Compare
Choose a tag to compare

📗 Links

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.1 #2907

3.1.0-M3

20 Mar 14:06
f60c8a6
Compare
Choose a tag to compare
3.1.0-M3 Pre-release
Pre-release

📗 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 or SELECT 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!