title: Doctrine 2 Query with LIKE
body: <p>I have this code for query: </p>
  
  <pre><code>$repository = $em-&gt;getRepository('AcmeCrawlerBundle:Trainings');
         $query = $repository-&gt;createQueryBuilder('p')
                 -&gt;where('p.title LIKE :word')
                 -&gt;orWhere('p.discription LIKE :word')
                 -&gt;setParameter('word', $word)
                 -&gt;getQuery();
  $trainings = $query-&gt;getResult();
  </code></pre>
  
  <p>The problem is: even if matches exist, they not found by this query. I used this code to see full sql: </p>
  
  <pre><code>print_r(array(
          'sql'        =&gt; $query-&gt;getSQL(),
          'parameters' =&gt; $query-&gt;getParameters(),
          ));
  </code></pre>
  
  <p>And what I've got:</p>
  
  <pre><code>FROM Trainings t0_ WHERE t0_.title LIKE ? OR t0_.discription LIKE ? [parameters] =&gt; Array ( [word] =&gt; Spoken ) 
  </code></pre>
  
  <p>(last part of query)
  Tell me please what to change?</p>