Skip to content

4.1.0

Latest

Choose a tag to compare

@christophstrobl christophstrobl released this 09 Jun 09:45
· 1 commit to main since this release
bfd9598

πŸ“— Links

⭐ New Features

  • Interface projection from JPQL Multi-SELECT throws ConversionFailedException #4251
  • Consider unsafe JpaSort in Querydsl sorting #4211
  • Querydsl sorting should support arbitrary String expressions #4209
  • Make ELSE optional in CASE expressions #4150
  • Make ELSE optional in CASE expressions #4142
  • Propagate well-known property JPA names to AOT metamodel initialization #4106
  • Add sequence support for AOT dialect #4103
  • Defer ReturnedType.inputProperties access #4088
  • Introduce Expressions utility for type-safe Criteria Query Expression resolution #4086
  • Add utility for type-safe Criteria Query expression resolution #4085

🐞 Bug Fixes

  • Fix JPQL, EQL, and HQL query rendering round-trips #4273
  • JPQL and EQL renderers fail using TREAT, LOCATE, and subqueries from collection members #4272
  • Fix EXTRACT(TIME FROM ...) in JpaSort order expressions #4255
  • Detect COUNT(*) function alias in QueryUtils #4249
  • COUNT(*) AS alias is not detected by QueryUtils FUNCTION_PATTERN #4242
  • Do not use tuple-typed queries for derived count queries. #4235
  • Enhance type filter to cover java.sql package #4231
  • Page with interface projection on derived query fails with ConverterNotFoundException #4230
  • Ahead-of-Time optimizations fail when a Hibernate entity uses java.sql.Clob #4228
  • SimpleJpaRepository.existsById(…) returns false when multiple rows exist for the same ID #4227
  • AOT-generated repositories convert array binding values to List #4223
  • Stub insert and mutation strategies for AOT Dialect in AotMetamodel #4208
  • AOT processing fails with IDENTITY identifier generation #4207
  • Refine JPQL join aliasing #4182
  • Simple property predicate fails on plural paths that are only allowed for the 'member of' operator #4179
  • Input properties order not preserved when specified via Fetchable Fluent Query #4174
  • Input Properties discarded using DTO Projection through findBy(…) #4172
  • Positional parameter numbering has gaps when previous query parameters are represented with IS NULL #4171
  • JPQL aliasing using id breaks EclipseLink queries #4167
  • Prevent schema interaction during AOT repository creation #4159
  • Fix keyset pagination with hierarchical idclass #4156
  • Apply LockModeType when creating AOT queries #4153
  • Lock is not taking into account when generating aotSources #4152
  • Use named selection for projections to avoid AliasCollisionException caused by the same leaf property name #4136
  • Interface projection fails with AliasCollisionException using the same leaf property name #4135
  • Makes Nullability of findAll consistent #4132
  • Inconsistent Specification nullness declarations in SimpleJpaRepository and JpaSpecificationExecutor #4131
  • AOT processing fails when using hibernate.hbm2ddl.auto=update #4130
  • Reference collection via join in JPQL #4123
  • NullPointerException in Query.setParameter(…) binding null to IN parameters #4112
  • Predicates on plural paths operate on collection instead of joins #4110
  • AOT repositories use executeUpdate for derived @Modifying queries #4102
  • Apply fetch graph by name in AOT repositories. #4100
  • SpringDataJpaAotDialect must not return null for getSqlAstTranslatorFactory() #4098
  • Named @EntityGraph not applied to AOT repository query methods #4097
  • AOT repositories fail with IncorrectResultSizeDataAccessException running GROUP BY count query #4096
  • AOT-generated repository fragment does not convert collection result to Set #4094
  • Derived query fails withInvalidDataAccessApiUsageException using IgnoreCase for nested property #4087
  • JpaSpecificationExecutor.findBy(…) returns join product of nested relations #3908
  • NullPointerException when using composite id with 'exists' repository method [DATAJPA-1290] #1616

πŸ“” Documentation

  • Remove duplicate Query by Example collection-property note #4270
  • Document fetch behavior for streaming query results #4262
  • Fix typos #4210
  • Add core-concepts link #4194
  • Fix typos in test Javadoc #4193
  • Fix a/an in Javadoc #4154
  • Fix grammar in projections documentation #4122
  • Improve clarity and accuracy of Example 7 and 11 titles #4120
  • Remove duplicate documentation heading identifiers #4084
  • Misleading links in repositories reference documentation overview #3463
  • Document projection support for JPASpecificationExecutor #2499
  • Improve documentation to clearly state that Query By Example ignores collections [DATAJPA-1127] #1472
  • Add note about driver behaviour for streaming query results [DATAJPA-1007] #1346
  • Refine Antora-build #2797
  • Add Readme templates #2758

πŸ”¨ Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.16 #4267
  • Upgrade to Postgres JDBC Driver 42.7.11 #4261
  • Upgrade to Hibernate 7.4 #4260
  • Update to Hibernate 7.2.11.Final #4238
  • Upgrade to Hibernate 7.2.10.Final #4234
  • Upgrade to MySQL 8.0.45 Docker image #4229
  • Update to Hibernate 7.3.X #4224
  • Upgrade to MySql JDBC Driver 9.6.0 #4222
  • Upgrade to Eclipselink 5.0.0 #4221
  • Upgrade to Hibernate 7.2.7.Final #4220
  • Upgrade to Eclipselink 5.0.0-RC1 #4213
  • Upgrade to Postgres JDBC Driver 42.7.10 #4206
  • Upgrade to Postgres JDBC Driver 42.7.9 #4186
  • Upgrade to Hibernate 7.2.4.Final #4181
  • Upgrade to Hibernate 7.2.2.Final #4176
  • Upgrade to Hibernate 7.2.1.Final #4160
  • Upgrade to Hibernate 7.2.0.Final #4121
  • Upgrade to Eclipselink 5.0.0-B13 #4117

❀️ Contributors

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