ManyToMany relation with DQL query

I would recomend adding in your entity the name annotation.

@ORM\Table(name="formation")

That way the query build will know to what entity you are refering.

Hope this helps, stay safe.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top