On Nov 12, 12:53 pm, Todd Vierling <t...@duh.org> wrote:
> Should I expect Key.getId() to return a globally unique number for all
> persisted objects, or is it only unique relative to its parent Key?
>
> (The objects in question are using Key references for the underlying
> classes, not Long references, to avoid other problems with Long @Id
> fields noted in other threads.)

Ah, I see the issue after further dev-testing:  when Key is the
embedded field, it's the only way to retrieve child instances via find
() (the long id embedded in the Key is not valid for lookups in that
case).  This question can be ignored.

--

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


Reply via email to