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 class Telephone{
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    @Extension(vendorName="datanucleus", key="gae.encoded-pk",
value="true")
    private String telephone_id;

    @Persistent
    private String person_id;  //this field point to  Person
}
Person Module manager Person  create/update/delete/query
Telephone module manaer   telephone   create/update/delete/query

Person can have 0 or mulity telephone but telephone only point to one
person or Telephone.person_id=null

Now there is a third module manager relation of  Person  and
Telephone .

if person have telephone( telephone1,telephone2,telephone3) and user
update person's telephone is telephone2,telephone3,telephone4,    how
to implements this?

is there and code example? thants a lot

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