Hey John, thanks for the reply twig looks interesting but im not using JDO, like i mentioned in my post.
Also, im not trying to get this specific code to work, im trying to get help on finding the best way to build entity's that would work with my intended behavior (mentioned in my first post). If i was using a rational DB, i would have structured my tables the following: User ------- id etc... Person ---------- id user_id name etc... PersonRelationship -------------------------- person_id friend_id <--- this is an id from the Persons table Im trying to found out how i would do this using GAE/JAVA/JPA On Jul 21, 4:01 pm, John Patterson <[email protected]> wrote: > On 22 Jul 2010, at 02:53, dmetri333 wrote: > > > > > private List<Person> friends = new ArrayList<Person>(); > > You cannot have direct references for unowned relationships in JDO-GAE. > > Twig is the only datastore interface I know of that does allow this > > http://code.google.com/p/twig-persist/ -- 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.
