LAZY @ManyToOne may again break EAGER @ManyToOne when used on the same entity in a different parent with Bytecode Enhancement

Description

The problem is very similar to https://hibernate.atlassian.net/browse/HHH-16136 but requires a slightly modified test case:

https://github.com/hibernate/hibernate-orm/pull/6413

When the previous issue was fixed here:

https://github.com/hibernate/hibernate-orm/pull/6095

Both the test case in the previous issue and in this issue were passing.

I suspect (but not completely sure) that these changes broke the additional test case are these:

https://github.com/hibernate/hibernate-orm/pull/6146

Activity

Show:

Tomas Cerskus April 15, 2023 at 7:32 PM

Just did more testing and the new test case indeed start failing after the changes from:

https://github.com/hibernate/hibernate-orm/pull/6146

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created April 15, 2023 at 7:13 PM
Updated April 28, 2023 at 9:36 AM
Resolved April 20, 2023 at 9:43 AM