On 7 October 2010 05:15, hadf <[email protected]> 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 [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.