-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Tree select question
PostPosted: Fri Mar 05, 2010 12:23 pm 
Newbie

Joined: Tue Jan 05, 2010 2:33 pm
Posts: 15
I have a tree structure where I use a parent id . This is working very nicely. My object contains a list of children which are of the same object type. Now I wish to introduce more functionality where the tree will be created based on an external dependency. Lets say my object is a Lesson. Lessons can contain Lessons etc. I want to build a tree JUST containing Lessons that are flagged for user but this flag exists in a LU_USER__TO_LESSON table. So the tree is built with the same structure as all lessons but only some are included.

Right now with my mapping file I just need to do a get on the root node and the tree is populated automatically. How can I make the condition continue into sub queries.

Thanks

Spunog.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.