What's the best and most efficient way to model relationships where
one-to-many means one-to-5000 or more?


Example: User uploads 5000 pictures to a service. Must be able to
retrieve all pictures, list them, etc.

User
{
  List<Picture> pictures = new ArrayList<Picture>();
}


or...


User
{
  List<Key> pictureKeys = new ArrayList<Key>();
}

Picture
{
  Key user;
}
--~--~---------~--~----~------------~-------~--~----~
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