Hello Dennis van Holsteijn, Hibernate 6.2.2 and with it an improved handling of queries involving self-referencing entities (see https://hibernate.atlassian.net/browse/HHH-16382). Could you please test with the latest version and let us know if the issue persists? |