title: Doctrine throw exception with getOneOrNullResult
body: <p>Doctrine throw Doctrine\ORM\NonUniqueResultException, with this code:</p>
  
  <pre><code>$qb-&gt;select('a')
     -&gt;from('TblGames', 'a')
     -&gt;leftJoin('a.categories', 'b')
     -&gt;leftJoin('a.user', 'c')
     -&gt;where("a.gamId = $gid");
     -&gt;andWhere("a.gamStatus = '1'");
  
  $game = $qb-&gt;getQuery()-&gt;setHydrationMode(Doctrine\ORM\Query::HYDRATE_ARRAY)-&gt;getOneOrNullResult();
  </code></pre>
  
  <p>Even when i tried to change ->getResult return only 1 result.</p>
  
  <hr>
  
  <p><strong>Answer: it is my mistake : $qb->select('a, b, c')</strong> </p>