Skip to content

Releases: spring-projects/spring-data-jpa

3.1.9

16 Feb 07:58
b13ca18
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Mapping collections to SQL arrays does not work with repositories #3356
  • A signed numeric literal in JPQL, a space will be inserted between the sign and the numeric literal after parsing #3342
  • QueryUtils derive broken count query when original one contains ORDER BY with new lines #3329
  • Named Parameter in countQuery not recognized unless used in value #3293

🔨 Dependency Upgrades

  • Upgrade to Eclipselink 3.0.4 #3338

❤️ Contributors

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

3.2.2

12 Jan 09:54
4dae5a8
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • JPQL parser doesn't accept double-quoted string literals #3308
  • JPQL parser doesn't accept MOD(… , …) #3277

❤️ Contributors

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

3.1.8

12 Jan 09:03
199186e
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • JPQL parser doesn't accept double-quoted string literals #3308
  • JPQL parser doesn't accept MOD(… , …) #3277

3.2.1

15 Dec 13:15
279b6b7
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • JSqlParserQueryEnhancer removes WITH clauses for paginated and sorted native queries #3263
  • Adopt JpaParameters to reflect the actual parameter type when using generics #3254

📔 Documentation

  • Fixed the URL for the Spring Data Commons documentation #3232

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.6 #3266
  • Upgrade to Hibernate 6.4 #3258
  • Update to Hibernate 6.4 #3239

❤️ Contributors

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

3.1.7

15 Dec 12:18
f1ee82a
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • JSqlParserQueryEnhancer removes WITH clauses for paginated and sorted native queries #3263

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.6 #3267

3.2.0

17 Nov 13:38
76a03e2
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Implement EQL query parser for EclipseLink. #3170
  • Connect build to ge.spring.io to benefit from deep build insights and faster builds #3142
  • Revise TypedParameterValue usage for native queries only #3137
  • Use io.spring.maven.antora plugins #3094
  • 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

  • HQL query parser does not support all fields in extract() #3219
  • JPQL parser can't handle an attribute named "power" #3143
  • NEW as a part of a state field path expression in JPQL. #3128
  • ParameterBindingParser fails with Already found parameter binding with same index #3126
  • Question mark (?) in string literal erroneously detected as parameter bind marker #3125
  • BadJpqlGrammarException with latest release when using order by utl_raw.cast_to_varchar2((nlssort(lower(entityalias.namefield), 'nls_sort=binary_ai'))) ASC #3099
  • BadJpqlGrammarException: no viable alternative at input #3093
  • BadJpqlGrammarException with attribute 'date' #3092
  • NamedQuery mangles query during processing. #3085
  • Keyset Scrolling cannot extract Values from Tuple using Interface Projections #3077
  • 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
  • CONCAT of LIKE with percentage (%) literal fails for null values #3041
  • BadJpqlGrammarException in @Query with escape statement #3040
  • @Query(value="TRUNCATE TABLE ...", nativeQuery = true) fails with ClassCastException #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 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
  • SpEL template behavior is inconsistent [DATAJPA-1266] #1597

📔 Documentation

  • Unable to use deleteInBatch due to cascade issue #3198
  • Use Antora-configuration profiles #3123
  • Javadoc: Add 'since' for the allOf(...), anyOf(...) methods in Specification #3102
  • Antora #3080
  • Add section to ref docs highlighting alternate strategies for implementing queries. #3005

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.5 #3182
  • Upgrade to OpenWebBeans 4.0 #3179
  • Upgrade to Hibernate 6.3 #3166
  • Upgrade to Maven Wrapper 3.9.4 #3114
  • 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
  • Upgrade to EclipseLink 4.0.2 #2900

❤️ Contributors

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

3.1.6

17 Nov 12:41
2725d92
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Use version-agnostic Hibernate presence check in QueryEnhancerFactory #3212

🐞 Bug Fixes

  • HQL query parser does not support all fields in extract() #3219

📔 Documentation

  • Unable to use deleteInBatch due to cascade issue #3198

❤️ Contributors

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

3.0.12

17 Nov 10:00
86254b1
Compare
Choose a tag to compare

📗 Links

📔 Documentation

  • Unable to use deleteInBatch due to cascade issue #3198

2.7.18

17 Nov 09:25
b7bc17f
Compare
Choose a tag to compare

3.2.0-RC1

13 Oct 15:52
Compare
Choose a tag to compare
3.2.0-RC1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Implement EQL query parser for EclipseLink. #3170
  • Revise TypedParameterValue usage for native queries only #3137

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.5 #3182
  • Upgrade to OpenWebBeans 4.0 #3179
  • Upgrade to Hibernate 6.3 #3166