what is problem of tree loading?
For tree loading, A native approach, is to load the tree's root node, and then traverse its descendants. The problem with this attitude is that it will create N queries on a tree with N nodes - For each and every node in the tree, Hibernate will issue an SQL that fetches the node children.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.