Lets say there is a relationship between Entities A and B, and I want to
model it with Entity C.

Two ways:
1. Use concatenated Key of A and B for Key of C. Data model will ensure
there are no duplicates.
2. Use autogenerated Key and make sure you do not duplicate A B relationship
in code.

Which one would you choose? In 1, is a simple concatenation the best way to
go about it?

--~--~---------~--~----~------------~-------~--~----~
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-java@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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to