HHH-13959 - OneToOne JoinTable with unique constraints work around?

"Jason Pyeron" <[email protected]>
Newsgroups gmane.comp.java.hibernate.user,gmane.comp.java.hibernate.devel
Message-ID <[email protected]>
https://hibernate.atlassian.net/browse/HHH-13959

 

I started a DB migration today, now we are dead in the water due to this exception.

 

When I persist an Entity on the owning side of the OneToOne(optional=true) relationship, and that property is null we are getting:

 

javax.persistence.PersistenceException: org.hibernate.PropertyValueException: not-null property references a null or transient value

 

I am looking to where I can patch Hibernate or put a workaround in our code.

 

Any help?

 

-Jason
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.