title: Target non-existing entity in querybuilder (ManyToMany relationship)
body: <p>I can't seem to target the JoinTable 'product_features' in a query builder:</p>
  <pre><code>     /**
       * @ORM\ManyToMany(targetEntity=&quot;AttributeOption&quot;, cascade={&quot;persist&quot;})
       * @ORM\JoinTable(name=&quot;product_features&quot;,
       *      joinColumns={@ORM\JoinColumn(name=&quot;product_id&quot;, referencedColumnName=&quot;id&quot;)},
       *      inverseJoinColumns={@ORM\JoinColumn(name=&quot;attribute_option_id&quot;, referencedColumnName=&quot;id&quot;)}
       *      )
       */
      protected $features;
  </code></pre>
  <p>I did discover that you can join a non-related table but you need to call it by the entity in order to do so. Am I right? There is no entity since it's just a table generated by the ManyToMany mapping.</p>
  <p>This is what I've tried but it does target the targetEntity 'AttributeOption':</p>
  <pre><code>$query
        -&gt;innerJoin('p.features', 'f')
        -&gt;setParameter('filters', $filters)
        -&gt;andWhere('f.id IN (:filters)');
  </code></pre>
  <p>I really need the product_features table in my query. Please, help me out!</p>
  <p>Thanks in advance!</p>
  <p>Regards,
  Demi</p>