This content has been marked as final.
Show 3 replies
-
1. Re: Help for Entity Query
gus888 Feb 15, 2006 11:32 PM (in response to gus888)Sorry, I forgot post my entity bean:
@Entity @Table(name="CATEGORY") public class Category implements Serializable { private long id; private String name; private Category parentCategory; private List<Category> childCategories; .... }
-
2. Re: Help for Entity Query
epbernard Feb 16, 2006 5:08 AM (in response to gus888)from Category c where c.parent.id is null
-
3. Re: Help for Entity Query
gus888 Feb 16, 2006 11:10 PM (in response to gus888)Thank you very much, Emmanuel. That is really good help.
GUS