openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fracicci <fle...@giumatech.com>
Subject Re: JPA don't write null in a @ManyToOne field
Date Thu, 22 Dec 2011 08:49:41 GMT
Yes, i do it!
I have done entitymanager.find then i have set null to a foreign key value
and finally merge, all this works!
But i wonder why there is this behavior, i used JPA 2 with JBoss 6 and there
wasn't these problems, maybe cause in Jboss i didn't use the transactions.


--
View this message in context: http://openejb.979440.n4.nabble.com/JPA-don-t-write-null-in-a-ManyToOne-field-tp4221018p4224614.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message