Guillaume Toison (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3...
) *commented* on HHH-16729 (
https://hibernate.atlassian.net/browse/HHH-16729?atlOrigin=eyJpIjoiNGU3OD...
)
Re: Instantiate a proxy of the correct class for ManyToOne associated to an inheritance
hierarchy (
https://hibernate.atlassian.net/browse/HHH-16729?atlOrigin=eyJpIjoiNGU3OD...
)
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-reu...
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
(
https://hibernate.atlassian.net/browse/HHH-16729#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16729#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:40c4da4 )