I'm using JDO with app engine. I have an class, Person, that contains two collections:
private ArrayList<String> parentKeys; private ArrayList<RoleType> roleTypes; // RoleType is an enum, defined as a public enum in its own file I am using transactions. When I add a RoleType value to roleTypes prior to calling pm.makePersistent(), the collection gets written to the datastore correctly. But if I add a RoleType value after calling pm.makePersistent(), but prior to calling txn.commit(), only the RoleType values added prior to calling pm.makePersistent() get stored to the datastore. Conversely, if I do the same thing with "parentKeys", all of the String values get stored correctly, whether they are added to "parentKeys" before or after calling pm.makePersistent(). This looks like a bug to me. Is this, somehow, normal behavior, or am I doing something wrong? Thanks, Rick -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
