When updating Hibernate from v5 to v6 a Hibernate query returns the exception: java.lang.NullPointerException: Cannot invoke "org.hibernate.engine.spi.EntityEntry.getEntityKey()" because "ownerEntry" is null pastebin with entire exception I narrowed it down to a minimal sample project. This issue may be related to HHH-15453. |