[appengine-java] Re: child of the same class

2009-09-02 Thread mar_novice
Since it is not yet supported, what is the possible approache in the meantime to solve this? Can i use unowned one-to-many relationship? And when the one-to-many same class relationship bug is already fixed, is there a way to convert the unowned one-to-many to owned? On Sep 2, 8:29 am,

[appengine-java] Re: child of the same class

2009-08-27 Thread Michael Niu
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 ListMallsubMallList; ... } remenber. dont add parent object to the class! cheers Michael