Pardon my ignorance, I have read the docs over and over and this still
alludes me.

I have two objects, lets call them "User" and "Skill". When a person
signs up to my site they are saved as a "User". A user may have
multiple skills, these are stored as a list within the User object,
e.g.

@Persistent @Element(dependent = "true")
private List<Skill> skills;

Now what I need to determine is how to add a Skill object to the User
entity group when I create it, as I need to modify both objects within
a single transaction.

When I create Skill objects do I have to supply the User key to the
new Skill object somehow?

I'd appreciate any help I can get with this, thanks!

-- 
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-java@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