Re: [appengine-java] how to build same entity group

2010-03-23 Thread Ikai L (Google)
Yes, the documentation is here: http://code.google.com/appengine/docs/java/datastore/relationships.html#Relationships_Entity_Groups_and_Transactions You would make the Person the parent entity, and you would define Telephone like this? @PersistenceCapable public class Telephone { private Key

[appengine-java] how to build same entity group

2010-03-22 Thread dreamy
I have two entity. @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Person{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) @Extension(vendorName="datanucleus", key="gae.encoded-pk", value="true") private String person_id; } public cla