ORMD 2.1.4.655
When creating a many-to-many association with the same source and target entity, it is not generated correctly. The foreign keys are the same, but even renaming them does not help.
Also, the export is broken as there is no "mappedBy" information being exported. Importing an old ORMD1 project with m2n self-assocs that are known to work shows the same problem.