[hibernate-issues] [JIRA] (HHH-13866) OneToOne-association produces error on 5.4.0+ when using PostgreSQL
Jan-Willem Gmelig Meyling (JIRA)
jira at hibernate.atlassian.net
Sat May 9 17:31:02 EDT 2020
Jan-Willem Gmelig Meyling ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ac3501de1-8794-4560-a449-54d889847aba ) *commented* on HHH-13866 ( https://hibernate.atlassian.net/browse/HHH-13866?atlOrigin=eyJpIjoiZDA5ZWE5MTAxZWQ5NDNhMjgzMWU1ZmYxNjIxN2VhZjQiLCJwIjoiaiJ9 )
Re: OneToOne-association produces error on 5.4.0+ when using PostgreSQL ( https://hibernate.atlassian.net/browse/HHH-13866?atlOrigin=eyJpIjoiZDA5ZWE5MTAxZWQ5NDNhMjgzMWU1ZmYxNjIxN2VhZjQiLCJwIjoiaiJ9 )
Your mapping is IMO still invalid, it might have worked before due to a flaw. The one to one implementation of 5.3 was definitely flawed. We solved a couple of bugs. One of which where the parent side of the one to one association was actually treated as child.
I wouldn’t classify this issue as a bug personally until we have shown that the issue persists after fixing the mapping. That means that the identifier of your child side of the association should be persistable/insertable.
Please consider writing a test case based on the Hibernate test case template so we can play around with the model and see what needs to be fixed.
( https://hibernate.atlassian.net/browse/HHH-13866#add-comment?atlOrigin=eyJpIjoiZDA5ZWE5MTAxZWQ5NDNhMjgzMWU1ZmYxNjIxN2VhZjQiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-13866#add-comment?atlOrigin=eyJpIjoiZDA5ZWE5MTAxZWQ5NDNhMjgzMWU1ZmYxNjIxN2VhZjQiLCJwIjoiaiJ9 )
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:9bc00fe )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200509/6bd6eda0/attachment.html
More information about the hibernate-issues
mailing list