title: Can I force Doctrine ORM to split up a complicated query?
body: <p>I'm making a query with Doctrine that contains lots of joins. Some are hasOne relationships, and some are hasMany. </p>
  
  <p>I think CakePHP makes separate queries for each hasMany relationship, but Doctrine seems to make one huge query. Both can hydrate the data and return a nice array into your php script, but they seem to make different sets of queries to do so. With Doctrine, as soon as your query contains several hasMany joins, performance can become pretty terrible. </p>
  
  <p>With CakePHP, the default is to split the query, but I can force it to join (http://book.cakephp.org/view/872/Joining-tables). Is there a way to do the reverse in Doctrine: to force it to split the hasMany joins into different queries? I've tried the docs and API but not found anything yet.</p>