It is me who trigged this bug while solving another entity graph bug (https://hibernate.atlassian.net/browse/HHH-14097 ). Previously we set erroneous subgraph. After my code changes, we set subgraph to null correctly for some cases (the bug I fixed in HHH-14097 Closed ), but incorrectly for other cases as well (the bug reported in this PR). |