I filed the bug already, thanks.. hope that this bug will be fix
immediately and have an update with the sdk. I really need to
implement this..

On Aug 29, 2:12 am, "Jason (Google)" <[email protected]> wrote:
> My sample was using JDO. In JDO, this does not work, but I haven't tested
> with JPA yet.
> - Jason
>
> On Thu, Aug 27, 2009 at 1:34 PM, Michael Niu <[email protected]> wrote:
>
> > You can  implements   self one-to-many relationship  the tricky is
> > Dont define ManytoOne, for your  example your  class  will  look
> > like :
> > class  Mall{
> > ...
> > id and  other  properties
>
> > @OneToMany
> > List<Mall>subMallList;
>
> > ...
>
> > }
>
> > remenber. dont add   parent  object to  the class!
>
> > cheers
>
> > Michael
>
> > On Aug 25, 11:03 pm, mar_novice <[email protected]> wrote:
> > > Is it possible to implement a parent-child relationship in the same
> > > class..
> > > for example
>
> > > parent Location has a child Location...
>
> > > for instance Mall class with fields name, longitude, latitude.
> > >  a big mall            name X, lat - 1.1  long- 2.3
> > >      sub mall          name A, lat - 1.01  long -2.1
> > >          sub mall      name B
> > >      sub mall
> > >      sub mall
> > >          submall
> > >               sub mall
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to