title: Doctrine Query Builder not working with UPDATE and INNER JOIN
body: <p>In my repository I have this query:</p>
  
  <pre><code>$qb = $this-&gt;getEntityManager()-&gt;createQueryBuilder();
  $qb
      -&gt;update('MyBundle:Entity1', 'e1') 
      -&gt;join('e1.Entity2', 'e2')
      -&gt;set('e1.visibile', '1')
      -&gt;andWhere('e2.id = :id')-&gt;setParameter("id", 123)
  ;
  </code></pre>
  
  <p>throw this error</p>
  
  <pre><code>[Semantical Error] line 0, col 66 near 'e2.id = :id': Error: 'e2' is not defined
  </code></pre>
  
  <p>I have checked the relation and it is right.
  Is there any issue using join in query update?</p>