I mean everytime my application will create an object so the id will
keep increasing. In datastore viewer, I can delete them manually so
this causes the difference in the two locations. I think you've
answered that the local dev app server is different.

Thanks very much

On Jun 30, 1:15 am, Ian Marshall <[email protected]> wrote:
> (Of course, all this discussion is about the datastore in the GAE
> cloud, not a local one kept by the dev app server.)
>
> But why the key will keep incrementing by 1?
> --------------------------------------------
> This depends on how you have defined your persistent entity class. I
> have no preference for my key values, I just want them to be unique,
> so I let the datastore generate them at first persistence-time. I use
> encoded key strings with a Long ID extract. The IDs tend to increase
> for new instances, but I have seen no guarantee for this. This should
> not matter anyway(?).
>
> It seems like the data shown in 'datastore viewer' is inconsistent
> ------------------------------------------------------------------
> with the data shown under the runtime condition.
> ------------------------------------------------
> What do you mean by this? (There can be small delays between
> persisting your data and it showing up on the data viewer.)

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

Reply via email to