Releases: spring-projects/spring-data-jpa
Releases · spring-projects/spring-data-jpa
4.0.0-RC1
📗 Links
⭐ New Features
- Revise
PredicateSpecification
for improved reuse #4035 - Add
TypeCollectorFilters
to filter$$_hibernate
fields and methods #4014 - Allow customization of
@RevisionTimestamp
property name #4003 - Allow customization of
@RevisionTimestamp
property name #2850 - Improve query method validation exceptions for declared queries #2738
- Avoid re-wrapping query validation exceptions into
IllegalArgumentException
it they already are one #2736 - Refine AOT Repositories infrastructure #3267
🐞 Bug Fixes
JpqlQueryBuilder
does not consider@Entity
name #4036- Generated JPQL uses non-standard fully-qualified entity names #4032
- Evaluate entity name for
StringAotQuery
fromEntityMetadata
#4030 - StringAotQuery should evaluate entity name from EntityMetadata #4029
- Consistent handling of
Specification.unrestricted()
inSpecification.not(..)
#4024 - Inconsistency in
Specification.unrestricted()
semantics #4023 deleteBy
returning primitive number queries fail withClassCastException
#4015- EQL Parser fails using nested aggregation function arguments #4013
- HQL Renderer renders CTE with
CYCLE
without space betweenSET
andidentifier
#4012 - Fix unpaged revision query #4000
- Revision repository
findRevisions
throws exception when usingPageable.unpaged()
#3999
📔 Documentation
- Document placeholder and Ant-style pattern support for
@Enable…Repositories
#3366
🔨 Dependency Upgrades
- Upgrade to Eclipselink 5.0.0-B11 #4045
- Upgrade to Hibernate 7.1.4.Final #4044
- Upgrade to Hibernate 7.1.1.Final #4016
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.5.5
📗 Links
⭐ New Features
- Improve query method validation exceptions for declared queries #2738
- Avoid re-wrapping query validation exceptions into
IllegalArgumentException
it they already are one #2736
🐞 Bug Fixes
- Consistent handling of
Specification.unrestricted()
inSpecification.not(..)
#4024 - Inconsistency in
Specification.unrestricted()
semantics #4023 deleteBy
returning primitive number queries fail withClassCastException
#4015- EQL Parser fails using nested aggregation function arguments #4013
- HQL Renderer renders CTE with
CYCLE
without space betweenSET
andidentifier
#4012 - Fix unpaged revision query #4000
- Revision repository
findRevisions
throws exception when usingPageable.unpaged()
#3999
📔 Documentation
- Document placeholder and Ant-style pattern support for
@Enable…Repositories
#3366
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.4.11
📗 Links
⭐ New Features
- Improve query method validation exceptions for declared queries #2738
- Avoid re-wrapping query validation exceptions into
IllegalArgumentException
it they already are one #2736
🐞 Bug Fixes
- Consistent handling of
Specification.unrestricted()
inSpecification.not(..)
#4024 - Inconsistency in
Specification.unrestricted()
semantics #4023 - EQL Parser fails using nested aggregation function arguments #4013
- HQL Renderer renders CTE with
CYCLE
without space betweenSET
andidentifier
#4012 - Fix unpaged revision query #4000
- Revision repository
findRevisions
throws exception when usingPageable.unpaged()
#3999
📔 Documentation
- Document placeholder and Ant-style pattern support for
@Enable…Repositories
#3366
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.0.0-M6
📗 Links
⭐ New Features
- Reintroduce Specification.where(Specification) #3998
- Add possbility to return Entity from
delete<...>ById(id: MyId)
method #3995 - Reintroduce
Specification.where(Specification)
#3992
🐞 Bug Fixes
- JPQL
/* ... */
comments in@Query
fail to parse when migrating from Spring Boot 3.3.5 to Spring Boot 3.5.5 / Spring Data JPA (HQL parser mismatch on/
) #3997 - Qualify identifier used in
SimpleJpaRepository.deleteAllByIdInBatch(…)
JPQL #3993 - EclipseLink fails resolving unqualified identifier property using
IN
on batch delete by Id #3990 - Type Constraint Mismatch in
QueryByExampleExecutor.findBy()
#3986 - Optimized
QueryUtils.applyAndBind(…)
usingIN(entities)
does not work with EclipseLink #3983 ExpressionBasedStringQuery
does not expand#{#entityName}
for native queries #3979
🔨 Dependency Upgrades
- Upgrade to Eclipselink 5.0.0-B10 #4006
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.5.4
📗 Links
⭐ New Features
- Add possbility to return Entity from
delete<...>ById(id: MyId)
method #3995
🐞 Bug Fixes
- JPQL
/* ... */
comments in@Query
fail to parse when migrating from Spring Boot 3.3.5 to Spring Boot 3.5.5 / Spring Data JPA (HQL parser mismatch on/
) #3997 - Qualify identifier used in
SimpleJpaRepository.deleteAllByIdInBatch(…)
JPQL #3993 - EclipseLink fails resolving unqualified identifier property using
IN
on batch delete by Id #3990 - Optimized
QueryUtils.applyAndBind(…)
usingIN(entities)
does not work with EclipseLink #3983 ExpressionBasedStringQuery
does not expand#{#entityName}
for native queries #3979
🔨 Dependency Upgrades
- Upgrade to Hibernate 6.6.28.Final #4005
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.4.10
📗 Links
🐞 Bug Fixes
- JPQL
/* ... */
comments in@Query
fail to parse when migrating from Spring Boot 3.3.5 to Spring Boot 3.5.5 / Spring Data JPA (HQL parser mismatch on/
) #3997 - Qualify identifier used in
SimpleJpaRepository.deleteAllByIdInBatch(…)
JPQL #3993 - EclipseLink fails resolving unqualified identifier property using
IN
on batch delete by Id #3990 ExpressionBasedStringQuery
does not expand#{#entityName}
for native queries #3979
🔨 Dependency Upgrades
- Upgrade to Hibernate 6.6.28.Final #4005
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.0.0-M5
📗 Links
⭐ New Features
- Remove unnecessary join when filtering on relationship id #3922
- Skip
JOIN
for predicates that compare the primary key of a@ManyToOne
relationship #3349
🐞 Bug Fixes
- Add missing
@Nullable
annotations toJpaSpecificationExecutor.findBy(…)
#3974
📔 Documentation
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.5.3
📗 Links
📔 Documentation
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.4.9
📗 Links
📔 Documentation
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.0.0-M4
📗 Links
⭐ New Features
- Backport
Specification.unrestricted()
to3.5.x
#3942 - Replace regex with startsWith / endsWith check for LIKE pattern detection #3932
- Deprecate
SharedEntityManager
bean registration in favor of JPA 3.2 qualifiedEntityManager
injection #3926 - Enable AOT repository generation by default #3904
- Make identification variables and the
SELECT
clause in JPQL optional #3903 - Make identification variables and the
SELECT
clause in JPQL optional #3902 - Enable AOT repositories by default #3899
- Avoid early
EntityManager
initialization duringPersistenceProvider
lookup #3885 - Add support for JSON and XML Set-Returning-Functions #3883
- Add
delete(Predicate)
toQuerydslJpaPredicateExecutor
#3878 - Add
delete(Predicate)
toQuerydslJpaPredicateExecutor
#3877 - Use provider built-in result count to reuse query if possible #3456
- Prevent early
EntityManager
access to avoid conflicts with Hibernate-native multi-tenancy #3425
🐞 Bug Fixes
- Returning Converted entity properties cause DTO projection rewrite #3929
PersistenceProvider.fromEntityManagerFactory(…)
throwsNullPointerException
using Hotswap Agent #3923QueryUtils
fails to detect aliases whenSELECT
items are comma-separated without spaces #3911JpaSpecificationExecutor.findBy(…)
returns join product of nested relations #3908- Postgresql jsonb operator
?|
erroneously detected as parameter bind marker #3907 - DTO query rewriting renders invalid queries #3895
📔 Documentation
- Fix typos in query-methods.adoc #3912
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.11 #3945
- Upgrade to Eclipselink 5.0.0-B09 #3939
- Upgrade to JSqlparser 5.3 #3938
- Upgrade to Hibernate 7.0.6.Final #3933
- Upgrade to Hibernate 7.0.3.Final #3925
- Upgrade to PGJDBC Driver 42.7.7 #3914
- Upgrade to Hibernate 7.0.0 #3896
❤️ Contributors
We'd like to thank all the contributors who worked on this release!