title: Invalid PathExpression. Must be a SingleValuedAssociationField
body: <p>I'm trying to do:</p>
  
  <pre><code>class PrixRepository extends EntityRepository
  {
      public function findPrixLike($film)
      {
          $query = $this-&gt;createQueryBuilder('p')
                        -&gt;addSelect('s')
                        -&gt;from('MG\UserBundle\Entity\SocieteDiffuseur', 's')
                        -&gt;join('s.paysDiffs', 'pays')
                        -&gt;where(':filmId MEMBER OF p.films')
                        -&gt;andWhere('pays.id MEMBER OF p.pays')
                        -&gt;setParameter('filmId', $film)
                        -&gt;getQuery();
  
          $result = $query-&gt;getResult();
  
          return $result;
      }
  }
  </code></pre>
  
  <p>And I get this error:</p>
  
  <pre class="lang-none prettyprint-override"><code>[Semantical Error] line 0, col 156 near 'id MEMBER OF': Error: Invalid PathExpression. Must be a SingleValuedAssociationField.
  </code></pre>
  
  <p>You can find my entity's structure here: <a href="https://stackoverflow.com/questions/32562025/notice-undefined-index-joincolumns-doctrine-2-symfony-2">Notice: Undefined index: joinColumns doctrine 2 + symfony 2</a>
  I tried multiple queries, but I really don't know what I have to do.</p>