• Post Reply Bookmark Topic Watch Topic
  • New Topic

Nested Set Mapping Question  RSS feed

Jason Ferguson
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, I'm trying to speed up some reports in an application. Unfortunately, my current sticking point is an Organization tree, mapped as a nested set. The mapping will look something like this:

On my JSP where I display the results, however, I really only need the name and id fields to display in a formatted table.

I would like to use setFetchMode() to make the other nested sets and many-to-ones "extra" lazy to keep them from being instantiated during the pull of the organization tree. However, since this is one set nested inside another (inside another, etc), I'm not quite sure how to map this.

Any suggestions out there?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!