title: Speeding up Hibernate Object creation?
body: <p>We use Hibernate as our ORM layer on top of a MySQL database. We have quite a few model objects, of which some are quite large (in terms of number of fields etc.). Some of our queries requires that a lot (if not all) of the model objects are retrieved from the database, to do various calculations on them.</p>
  
  <p>We have lazy loading enabled, but in some cases it still takes a significant amount of time for Hibernate to populate the objects. The execution time of the MySQL query is very fast (in the order of a few milliseconds), but then Hibernate takes its sweet time to populate the objects.</p>
  
  <p>Is there any way / pattern / optimization to speed up this process?</p>
  
  <p>Thanks.</p>