Two ways I build relationships are. Just depends where else I need that entity.
1. I use owned collections, which means I can create the context all at once and persist it and App engine can build the relationship in the key. This is my favorite, but has some limitations if you want to have another entity use it too. 2. Another way I do it is, in the parent I use HashSet<Long> and set the children Ids to it I which is using Long Ids to link the relationships of the children, but the entity has to be created and the Id retrieved before you add it to the parent. Brandon http://c.gwt-examples.com -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/NN67omqSiLEJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
