Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

Insert/Update sequence in an Object tree

JayaPrakash

2010-03-01


Author LoginPost Reply

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
--
Sent from the OpenJPA Users mailing list archive at Nabble.com.
©2008 gg3721.com - Jax Systems, LLC, U.S.A.