ORM Designer 2.1.7.680, MVC: Symfony2, ORM: Doctrine2
The definition that is generated by the many-to-many wizard is incorrect. Patching the .ormdesigner2 XML corrects it.
Output XML (in ManyToManyTest.ormdesigner2):
<many-to-many mn-entity="SampleEntity2OtherSample" uuid="3a2895ec-5cf5-4c05-bb6c-296be3f4e33c">
<many-to-many-entity name="OtherSample" owning-side="true" alias="OtherSample" uuid="e96ee5a5-f295-4fc5-82a1-8b9c7110bb79"/>
<many-to-many-entity name="SampleEntity" owning-side="false" alias="SampleEntity" uuid="a50a3bb8-c1b4-4751-95dc-f667a98a44fd">
<many-to-many-field from="SampleEntity_id" to="id"/>
<many-to-many-field from="OtherSample_id" to="id"/>
</many-to-many-entity>
</many-to-many>
(both fields are set on the Inverse Side)
Visual cue:
