openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. Walter" <marc.wal...@sbb.ch>
Subject Re: Constraint violation using OneToOne relationship
Date Thu, 10 Nov 2011 14:57:18 GMT
Hi Kevin,

thank you VERY much for your answers. I tested your second proposal for
solution and it works like a charm! But one drawback here: we lose
portability because as you said the annotation is OpenJPA specific.

Could some OpenJPA official please update the FAQ
(http://openjpa.apache.org/faq.html) "Can OpenJPA reorder SQL statements to
satisfy database foreign key constraints?" Maybe the @ForeignKey solution
would be helpful for other desperate developers as well... 

--
View this message in context: http://openjpa.208410.n2.nabble.com/Constraint-violation-using-OneToOne-relationship-tp6978223p6981835.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message