title: Doctrine Query Builder LOWER not working
body: <p>Somehow doctrine is not allowing me to compare two lowerstring values: that of a variable and the first name of a user.</p>
  
  <pre><code>    $qb = $this-&gt;getEntityManager()-&gt;createQueryBuilder();
      $qb
          -&gt;select('d')
          -&gt;from('MyBundle:User', 'd')
          -&gt;where('LOWER(d.firstName) LIKE :fName')
          -&gt;setParameter('fName', strtolower('%'.$fName.'%'));
  
      $result = $qb-&gt;getQuery()-&gt;execute();
  </code></pre>
  
  <p>only when $fName has an uppercase string (i.e. 'Rob'), it will return results like 'Robert' and 'Robby'. But what I want is that even when $fName is spelled lowercase ('rob'), these results should come up. It seems that the d.firstNames are not lowered. Why is this the case?</p>