Am wondering how in the low level api can i represent a man to many 
relationship , this is a good approximation? 

 Entity entityA = new Entity("TypeA");
    entityA.setProperty("name", "nameUserA");

    Entity entityB = new Entity("TypeA");
    entityA.setProperty("name", "nameUserB");

    ds.put(entityA);
    ds.put(entityB);

    Entity entityChild = new Entity("entityChild",entityAKey);
    entityChild.setProperty("name","child");
 
     ds.put(entityChild);

    Entity entityChild = new Entity("entityChild",entityBKey);
    entityChild.setProperty("name","child");
 
     ds.put(entityChild);

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/PWTINDhJTh0J.
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