Today, we published a new maintenance release of Hibernate ORM 6.2: 6.2.6.Final.
This update includes several bugfixes and further stabilization as we approach the release of the next minor Hibernate version.
We have fixed a bug that caused the properties of composite keys to be in an unexpected order, causing possible problems with constraints (see HHH-16514)
We keep improving Hibernate’s bytecode enhancement support, this time we tackled several bugs:
Reading entities that extended a
@MappedSuperclassdeclared in a different package did not work correctly (see HHH-16711)
Bytecode enhancement caused a lazy
@ManyToOneassociation targeting an Entity annotated with
@Proxy(lazy = false)to be eagerly loaded (see HHH-16794)
Hibernate failed to update a one-to-one lazy association with
OptimisticLockType.DIRTYand enabled bytecode enhancement (see HHH-16839)
Bytecode enhancement led to a broken constructor for an embedded field declared as a generic in a
We addressed a couple issues that affected Hibernate generated subqeries when using joins:
We have fixed some bugs related to polymorphic queries:
Hibernate now uses the existing
In previous 6.2 versions the batch loading feature was improved several times. With this release we keep stabilizing it by fixing a couple issues:
There are more improvements and bugfixes included in this version. You can find the full list of changes here.