I created a JIRA with a test case: http://code.google.com/p/datanucleus-appengine/issues/detail?id=125&sort=-id&colspec=ID%20Stars%20Type%20Status%20Priority%20FoundIn%20TargetRelease%20Owner%20Summary
On Sep 9, 2:39 am, "Jason (Google)" <[email protected]> wrote: > Are you calling pm.close()? Can you paste your test case? > > - Jason > > On Mon, Sep 7, 2009 at 11:49 AM, arussel <[email protected]> wrote: > > > Hi all, > > > I am trying to test persistence, with: > > class Foo implements Serializable { > > �...@primarykey > > �...@persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) > > private Key key; > > } > > > When I call makePersistent on an instance, the key value is created > > as expected. If I add a field: > > �...@persistent > > private List<Category> children > > Then the key is still null after the call to makePersistent. I can > > see that in JDOStateManager, the creation of the pm is let to the > > datastore, then a value of: > > ___entity_write_delayed___=<Entity [Category(no-id-yet)] > > but it ends without an id being set. > > What did I miss ? --~--~---------~--~----~------------~-------~--~----~ 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 [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-java?hl=en -~----------~----~----~----~------~----~------~--~---
