You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by JayaPrakash <jp...@sify.com> on 2010/03/01 22:35:27 UTC

Insert/Update sequence in an Object tree

Hi,

      I would like to know, in an object tree that is sent for saving to the
Database using OpenJPA, Is the parent first inserted/update or the child?

For example in a tree of A B and C, A is the parent Object of B and B is the
parent Object of C. In this scenario, would the A object be inserted first
and then B and C or C first, then B and A at last.

Thanks,
JP
-- 
View this message in context: http://n2.nabble.com/Insert-Update-sequence-in-an-Object-tree-tp4657147p4657147.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.