Hi. I wonder if I can create owned one-to-many relationships for child 
entities (JDO)?

For example I have following PersistenceCapable classes:
Person, Company, PhoneNumber

*Person* owns a *Company* (one-to-one unidirectional).
*Person* owns a *List<PhoneNumber>*  (one-to-many unidirectional).
The child *Company *of *Person *also owns a *List<PhoneNumber>*
  (one-to-many unidirectional).

When I try to make persistent Person (with or without transactions) I get 
one of these lists empty.
I don't have any exceptions or warnings, just one of the lists is always 
empty (sometimes person's phones, sometimes company phones).

It's working fine with one-to-one, for example a PersistenceCapable Address 
works fine for both Person and Company.

Regards,
Turan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to