Today, we published a new maintenance release of Hibernate ORM 6.2: 6.2.5.Final.
This maintenance release keeps improving stability with several bugfixes.
We have fixed several bugs related to Hibernate’s second level cache functionalities:
Caching was not working properly for entities with inheritance when
hibernate.cache.use_structured_entrieswas enabled (see HHH-16714).
Hibernate failed to access a lazy fetched
@ManyToOneassociation which was part of a composite
@IdClassidentifier when stored in L2 cache (see HHH-16673).
TransientObjectExceptionwas encountered when loading a versioned entity from the second level cache with a
@OneToOnelazy mapping (see HHH-16745).
We addressed a couple issues that occurred when joining on generic or treated association paths:
We have fixed several issues that were reported for different use cases which had problems when mapping the same underlying database column to different model properties (see HHH-15929).
We have fixed a couple bugs related to composite identifiers when batching was enabled:
There are more improvements and bugfixes included in this version. You can find the full list of changes here.