I have a parent entity Category and a child entity Article. They are defined by a ManyToMany relation. One article can be taged in one or more category and every Category ca
You can't do this using just cascading features as far as I can think of.
A clean solution would be to create an listener which subscribes to the preRemove
events.
You can then check when a category is deleted and find all articles from that category which do not have any other categories and remove those as well.