Re: [google-appengine] persisting one-to-many entities

2010-09-01 Thread Robert Kluin
You have to store both A and B. At least in Python, and I assume in Java, storing A will not auto-persist B. Robert On Wed, Sep 1, 2010 at 06:39, ping wrote: > Hello, > I wonder whats the exact approach of storing one-to-many related > entities into the datastore. > for example having a

[google-appengine] persisting one-to-many entities

2010-09-01 Thread ping
Hello, I wonder whats the exact approach of storing one-to-many related entities into the datastore. for example having a Entity "A" which holds a list of entities "B" and the entity "B" refers back to the entity "A". so they are related as 1- to-many :) Do i have to persist all "B" entities first