openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fracicci <>
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:
Sent from the OpenEJB User mailing list archive at

View raw message