I'm guessing your tests were run locally because the counter in the local datastore does indeed have datastore scope. The scope of the counter in the prod datastore, however, is parent key + kind. This is described here: http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Keys
If it's important to you that the scope of the generated ids match between dev and and prod please file an issue. Thanks, Max On Tue, Sep 8, 2009 at 6:04 AM, iker98 <[email protected]> wrote: > > One detail I haven't read about is the different scope of the > identification function of ID and keyName. > According to my tests the ID generation counter has datastore scope, > not kind scope like we are used to with RDBs. Otherwise the keyName > identifies an entity in a kind. > > Am I right with my conclusions? Is there some way to set one ID > generator for each kind? > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
