* Due to eventual consistency of queries on the HRD, parented
entities are much more useful than they were before, so you will use
them quite a bit.
* Once your data model reaches a certain complexity, passing around a
series of Longs to represent a key becomes very difficult to maintain.
I have done this both ways; in apps with an unsophisticated data model
and minimal use of parented entities, using Long ids works fine. On
the other hand, my latest project has a enormously complicated data
model with heavy use of parents to guarantee query consistency and
keep 2pc transactions to a minimum. This app would be wholly
unmanageable (for me at least) without heavy use of Objectify's
generic-typed Key<?>. So I have Key<Person>, Key<Organization>, and
dozens more like that. The typechecker is my best friend.
Jeff
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/d-OUIqZ7ua0J.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.