Hi,

I have a question about the keys in the datastore.

The keys are in sorted order when I view in the local datastore. For
example, when I initially store say 10 entities and the keys range from 8000
to 8009, then next time when I store 10 entities, the keys range from
8010-8019. That is the next key starts in the ascending order.

But when I store in the app engine, the keys are not in order and random
keys are assigned. For example , the first key will be 3001 and the next key
will be 8343. So, the next time when I store the entities, some of them are
assigned keys between 3001 and 8343. Can anyone please explain why? Is there
a possible way to have the keys in sorted order in the app engine datastore?

Thanks,
Deepika

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to