I can't seem to find any documentations about auto generated numeric keys 
on whether the values are guessable or not.  I want to use the key as an 
order number to give to the user, so I need something that is not 
guessable.  

I'm using JDO with these annotations in the primary key field


@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Long id;

On the development server, it seems like the keys are sequential, while on 
the live server, it looks like the key is base on the timestamp of the 
transaction.  Is there somewhere I can find more information on how these 
keys are generated?  Or is there a better way to generate ids that are safe 
to give out as order numbers?  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to