Thank you all for the replies!

On Sun, Jul 4, 2010 at 10:49 PM, Didier Durand <durand.did...@gmail.com>wrote:

> Hi,
>
> You can also create your own keys (i.e. with the structure you want)
> via KeyFactory.createKey()
> regards
> didier
>
> On Jul 3, 9:58 pm, Deepika M <drift2elys...@gmail.com> wrote:
> > 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<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
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