[hibernate-issues] [JIRA] (HHH-14008) "Found shared references to collection" exception thrown due to issue with batch fetching duplicating locked entities on refresh

Caspian Borison (JIRA) jira at hibernate.atlassian.net
Fri May 15 11:18:47 EDT 2020


Caspian Borison ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Abead8085-c796-4d7d-9fa0-0ec2008c7f92 ) *commented* on HHH-14008 ( https://hibernate.atlassian.net/browse/HHH-14008?atlOrigin=eyJpIjoiNzIzNWI4NzYxZTc2NGMyNWI3MTY3MjcxNDgyNjZlOWYiLCJwIjoiaiJ9 )

Re: "Found shared references to collection" exception thrown due to issue with batch fetching duplicating locked entities on refresh ( https://hibernate.atlassian.net/browse/HHH-14008?atlOrigin=eyJpIjoiNzIzNWI4NzYxZTc2NGMyNWI3MTY3MjcxNDgyNjZlOWYiLCJwIjoiaiJ9 )

Is it going to be possible to get any traction on this issue?

Between the two issues I have logged, it is currently impossible to safely utilized these two features together in the latest versions of Hibernate.

* Enabling Batch Fetching
* Using Hibernate to lock and refresh entities already loaded

Seems like a fairly serious limitation.

( https://hibernate.atlassian.net/browse/HHH-14008#add-comment?atlOrigin=eyJpIjoiNzIzNWI4NzYxZTc2NGMyNWI3MTY3MjcxNDgyNjZlOWYiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-14008#add-comment?atlOrigin=eyJpIjoiNzIzNWI4NzYxZTc2NGMyNWI3MTY3MjcxNDgyNjZlOWYiLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100126- sha1:acdbdcc )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200515/3b4cc758/attachment.html 


More information about the hibernate-issues mailing list