Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-15271 (
https://hibernate.atlassian.net/browse/HHH-15271?atlOrigin=eyJpIjoiMDg3ZT...
)
Re: Don't initialize lazy associations via merge (
https://hibernate.atlassian.net/browse/HHH-15271?atlOrigin=eyJpIjoiMDg3ZT...
)
I checked the code and we do cache the query plan to use for loading the entity graph that
is affected by MERGE cascading, so this is all intentional.
If you don’t want any cascading to happen, how about you try using the StatelessSession
API?
(
https://hibernate.atlassian.net/browse/HHH-15271#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15271#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#100227- sha1:5147d46 )