Jira issue originally created by user jfreed:
The XML Mapping documentation indicates that "orphan-removal" is an attribute on One-to-One or Many-to-One elements, but in DoctrineORM version 2.0 that does not work. It seems I have to make "orphan-removal" a child attribute of those elements to turn it on.
Just to be clear:
Documentation says to do this, but it does not work:
This does work:
Orphan removal is working properly afaik.