Hello,

I read that many to many relation ship must resolved by using sets of
Key.
But what I don't understand is how do I specify the type the Key is
referencing.
I mean that if I have a many to many relation ship between Car and
User, how jpa or jdo knows that Car is associated to User ?

public class Car {
    @OneToMany
    private Set<Key> users; //this relation ship is untyped
}

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

Reply via email to