[hibernate-issues] [JIRA] (HHH-11605) OneToMany - extend CollectionKey with PK of the "One" side.
Adam Taylor (JIRA)
jira at hibernate.atlassian.net
Mon Jul 27 18:31:13 EDT 2020
Adam Taylor ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5c584cb0a1ea0f5bf0b0979d ) *commented* on HHH-11605 ( https://hibernate.atlassian.net/browse/HHH-11605?atlOrigin=eyJpIjoiODI3MjJkNzUwNWM5NDk2ZTgyNTM4ZmM5YjA2YmYyYzEiLCJwIjoiaiJ9 )
Re: OneToMany - extend CollectionKey with PK of the "One" side. ( https://hibernate.atlassian.net/browse/HHH-11605?atlOrigin=eyJpIjoiODI3MjJkNzUwNWM5NDk2ZTgyNTM4ZmM5YjA2YmYyYzEiLCJwIjoiaiJ9 )
Wow, after scouring the internet for a week I finally run into this! I’m not crazy!
Unfortunately, what I am is pretty inexperienced with Hibernate. I was certain that I was just missing something simple. I dug into the guts trying to debug this and came to the exact same problem being described here. Despite not explicitly setting any collection to another collection, I’m getting mismatched keys. (Also ran right into the “silly users” comment and cried.)
So what’s a developer to do? This is breaking our test suite and I can’t figure out any way around this. Even if I could wait for a change to the Hibernate core, I feel like that’s a looong time coming.
Is there a simpler way around this issue?
( https://hibernate.atlassian.net/browse/HHH-11605#add-comment?atlOrigin=eyJpIjoiODI3MjJkNzUwNWM5NDk2ZTgyNTM4ZmM5YjA2YmYyYzEiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-11605#add-comment?atlOrigin=eyJpIjoiODI3MjJkNzUwNWM5NDk2ZTgyNTM4ZmM5YjA2YmYyYzEiLCJwIjoiaiJ9 )
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#100140- sha1:fbb0377 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200727/1f8af0c2/attachment.html
More information about the hibernate-issues
mailing list