This is both a bug and a limitation. The reported bug can be found as datanucleus-appengine issue 80 (Recursive relation does not work) at:
http://code.google.com/p/datanucleus-appengine/issues/detail?id=80&can=5&sort=priority&colspec=ID%20Stars%20Type%20Status%20Priority%20FoundIn%20TargetRelease%20Owner%20Summary I have starred this to get additional visibility as to any progress. On Feb 7, 1:11 am, JT <jem...@gmail.com> wrote: > Didier, > > Do you mean "There is currently *a bug* preventing owned one-to-many > relationships *where the parent and the child are the same class*, making it > difficult to model tree structures. This will be fixed in a future release. > You can work around this by storing explicit Key values for either the > parent or children.". If so, that is a bug not a limitation. > > J > > On Sun, Feb 6, 2011 at 11:30 AM, Didier Durand <durand.did...@gmail.com>wrote: > > > > > Hi, > > > I think that it is still in the doc: see last bullet point of > > >http://code.google.com/appengine/docs/java/datastore/jdo/overview.htm... > > > regards > > > didier > > > On Feb 6, 4:48 pm, Jan Willies <j...@willies.info> wrote: > > > 2011/2/6 Cyrille Vincey <crll...@gmail.com> > > > > > Some time ago, relationships between entities of same kind were not > > > > supported by the datastore. > > > > This was annoying in particular when trying to movel tree structures > > > > (@OneToMany relationship between MyClass and MyClass). > > > > The datastore documentation was pretty clear about this. > > > > > I cannot find this limitation in the datastore documentation anymore. > > > > Have I missed a good news about a recent release allowing relationships > > > > inside entities of the same kind ? > > > > I tried it a few days ago (with JDO) and it didn't work. > > > -- > > 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. > > -- 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.