Hi,
For many-to-many association you don't need to set any cascade style for deleting only if you want to save/persist the related entity, but I guess is not your case.
When you delete an Institute the relations will be deleted automatically even if you don't have any cascade style set.
The error appear now because you want to delete an Institute and also the Person's entities that are associated with that Institute, that is the effect of using cascade style, and I am sure that you have some of those Person's entities that are related also with other Institute.
I hope this help.
Calin.
_________________ I hope this help.
Calin
|