On 7 October 2010 05:15, hadf <hadrien.for...@gmail.com> wrote: > how jpa or jdo knows that Car is associated to User ? > > public class Car { > @OneToMany > private Set<Key> users; //this relation ship is untyped > }
Two alternative datastore frameworks add typing in different ways. Twig uses direct references: class Car { Set<User> users; } and Objectify uses generic Keys; class Car { Set<Key<User>> users; } http://code.google.com/p/twig-persist/ http://code.google.com/p/objectify-appengine/ -- 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=en.