[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
Thu May 7 03:39:57 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=eyJpIjoiZTNkOTA5MGM1ZDZiNGNiZGI3ZmFlZGFlNzAzN2UwMzciLCJwIjoiaiJ9 )

Re: OneToOne-association produces error on 5.4.0+ when using PostgreSQL ( https://hibernate.atlassian.net/browse/HHH-13866?atlOrigin=eyJpIjoiZTNkOTA5MGM1ZDZiNGNiZGI3ZmFlZGFlNzAzN2UwMzciLCJwIjoiaiJ9 )

Your mapping is invalid because PaymentDO needs to be inserted first, and its identifier is not-insertable. If you remove insertable=false it should work.

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

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:69509b2 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200507/cd0bed05/attachment.html 


More information about the hibernate-issues mailing list