Problem with delete operation in many to many relation
- by Alexey Zakharov
Hi,
I've got to classes Product and Store which have many to many relation
I want deleting of store not to cause deleting of related product
And deleting of product not to cause deleting of related store.
Currently deleting of entity cause exception due to Foreign Key constraint.
Here is this classes and their mapping in fluent hibernate:
…