Issue encountered when migrating from Hibernate 5.4.10.Final to 6.1.7.Final. We have entities with recursive associations and we want to fetch 3 levels of parents using entity graph, but the last parent is never initialized : if the entity has only 2 levels of parent then the second isn’t fetched , if it has 3, then the third isn’t fetched. Here’s the test case for Hibernate 6.1.7.Final (the test fails also for 6.2.0.CR3): https://github.com/FloWat/graph_recursive_association_h6/blob/main/src/test/java/JPAUnitTestCase2.java And the test case for Hibernate 5.4.10.Final (the test passes also on 5.6.15.Final) : https://github.com/FloWat/graph_recursive_association_h5/blob/main/src/test/java/JPAUnitTestCase2.java |