title: Hibernate - How to efficiently fetch a big object graph?
body: <p>For a project, I have to read a list of objects out of a database. The object type is a big object graph consisting of a lot of associated objects. When I execute the select query to get a list of all the objects in the database, Hibernate not only executes 1, but 45 additional queries. Still, it seems that the objects are lazy loaded.</p>
  
  <p>But what I need is efficiently loading list of the WHOLE objects. What would be the best way to do this?</p>
  
  <p>I first thought of using fetch joins but with so many associations this could become a real pain. Are there any better solutions?</p>