title: Hibernate: Enabling lazy fetching in Criteria API
body: <p>I am writing a query against a domain model where (for whatever reason) a one-to-many association is mapped with lazy="false". In my particular query, I'd rather fetch that collection lazily, because I don't care about its contents. How can I reenable laziness for my particular query? Is this possible at all?</p>
  
  <p>So far, I looked at <code>Criteria.setFetchMode</code>, but <code>FetchMode.LAZY</code> is merely a deprecated alias for <code>FetchMode.SELECT</code> ...</p>
  
  <p>Changing the mapping would probably be ideal, but I'd rather not risk affecting the existing queries.</p>
  
  <p>Edit: We use Hibernate 3.3.2</p>