[appengine-java] IdGeneratorStrategy.SEQUENCE

2009-12-21 Thread Philip Tucker
I'm using IdGeneratorStrategy.SEQUENCE for the primary key of a table, but it appears AppEngine bounces between 2 different sequence generators as I create new entries. IDs are unique, but not monotonically increasing. It's possible I've coded something wrong, but I'm oretty sure this is a bug.

Re: [appengine-java] IdGeneratorStrategy.SEQUENCE

2009-12-21 Thread Max Ross (Google)
Hi Philip, IdGeneratorStrategy.SEQUENCE support is implemented on top of DatastoreService.allocateIds(), which is itself the mechanism that the datastore uses internally to assign ids. So, all properties of datastore id allocation apply to SEQUENCE. There is a lot of good information about