Doctrine 2 - ORM

When merging many to many entities back into the repository all associations are deleted on the next flush