I don’t want a pony, I want to keep using the donkey I already have 🙂 Basically I’m using @Proxy(lazy = false) to ensure that objects in an inheritance hierarchy have the right class, at the expense of relaxing the performance requirement (this breaks lazy loading). In Hibernate 6.2 proxy loading seem to have changed because I get new errors, and these errors go away when I remove @Proxy(lazy = false) , I’m trying to pinpoint the problem but was not successful so far, for instance https://hibernate.atlassian.net/browse/HHH-16553 or https://discourse.hibernate.org/t/objectnotfoundexception-in-6-2-when-reusing-a-column/7636 So I’ll keep trying to debug these errors, most probably the problem is in my code. Thanks a lot for the answers; I’ll close this unless you tell me otherwise |