Re: [appengine-java] What is the best way to store child object?

2010-04-21 Thread Ikai L (Google)
Hi Andrey, I'll try to answer your questions inline. First off, I'm using these docs as reference: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/KeyFactory.Builder.html http://code.google.com/appengine/docs/java/datastore/transactions.html It works. But

[appengine-java] What is the best way to store child object?

2010-04-20 Thread ailinykh
Hello, everybody! I have simple one to many owned relationship: ... class MyList{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id; @Persistent(mappedBy=myList) @Element(dependent = true) ListItem items; ... } class Item{