Regression: OneToOne fields are always null if parent is loaded from L2 cache

Description

The fix for https://hibernate.atlassian.net/browse/HHH-14216#icft=HHH-14216 is causing a regression and now bi-directional OneToOne fields are always `null` if parent is loaded from the L2 cache.

Attachments

2
  • 15 Sep 2021, 01:38 PM
  • 15 Sep 2021, 01:35 PM

Activity

Show:

Sanne Grinovero October 1, 2021 at 8:46 AM

Agreed, I’ll backport it.

Amit Mendapara October 1, 2021 at 6:22 AM

Should be backported to 5.5.x release.

Sanne Grinovero September 20, 2021 at 9:41 PM

Many thanks, this was merged now.

Amit Mendapara September 15, 2021 at 10:50 AM

I created pull request to fix the issue https://github.com/hibernate/hibernate-orm/pull/4221

Fixed

Details

Assignee

Reporter

Worked in

Components

Fix versions

Affects versions

Priority

Created September 15, 2021 at 10:45 AM
Updated September 22, 2022 at 8:50 AM
Resolved October 1, 2021 at 8:52 AM