Hibernate OneToOne - how to set null value?
Posted
by EugeneP
on Stack Overflow
See other posts from Stack Overflow
or by EugeneP
Published on 2010-04-16T11:11:37Z
Indexed on
2010/04/16
11:23 UTC
Read the original article
Hit count: 159
If I want to save a linked instance as null in a database, what should I do?
I cannot simply pass null to
obj.setOneToOneAssociatedObject(null)Still, I want to save this link as null (table allows it).
© Stack Overflow or respective owner