The situation is this:
- You have a Hibernate context with an object graph that has some lazy loading defined.
- You want to use the Hibernate objects in your UI as is without having to copy the data somewhere.
- There are different UI contexts that require different amounts of data.
- The data is too big to just eager load the whole graph each time.
What is the best means to load all the appropriate objects in the object graph in a configurable way so that they can be accessed without having to go back to the database to load more data?