In one-to-many relationship in JDO between two objects A and B, should the 
object B be added to the collection of B's in A separately , when only B is 
persisted? or does this happen automatically?

for example if A has a field:

        @Persistent(mappedBy="a")
private List<B> bs= new ArrayList<B>();

and B has  a field
       A a;

Do I have to add objects of type B to the list in A manually or does this 
happen automatically?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to