openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Beniamin Mazan ...@mazan.pl>
Subject Re: Problem with foreign keys on DB and JPA delete
Date Fri, 04 Jul 2008 09:43:47 GMT



Michael Dick wrote:
> 
> FWIW Configuring the constraint update manager can be done by adding this
> property to persistence.xml :
> 
> <property name="openjpa.jdbc.UpdateManager" value="constraint"/>
> 
> -mike
> 
> 

With this property set to "constraint" I got exception on persist cause EM
persist at first descendent object (voice_mail) with no main object
(product) in DB. So Foreign Key contraint denies operation execution. :-|

-----
--
thanks
Beniamin
-- 
View this message in context: http://n2.nabble.com/Problem-with-foreign-keys-on-DB-and-JPA-delete-tp210695p221029.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message