Hi,
Looks like we have a regression due to the new entity graph code in 5.4.
*
https://hibernate.atlassian.net/browse/HHH-13175 for the test case and
explanation;
*
https://github.com/hibernate/hibernate-orm/pull/2709 for a fix proposal
but I don't think we really want to go that way.
Steve, could you take a look at it? I'm pretty sure it's also in 6 as you
backported things from 6 to 5.4 for this feature.
I plan to release a 5.4.1 probably mid-January to hopefully fix this one
and the other regressions spotted by our users.
Thanks.
--
Guillaume