posted 15 years ago
Hi,
I have an many-to-many relationship mapped with annotations
as below:
I am updating the UserGroup by doing:
I am getting this exception:
If i remove cascade=CascadeType.ALL from Group entity i
don't get any exception but i want to keep cascade in Group entity.
Is there anything i need to do to get rid of this exception or I should
remove cascade in Group entity?
Thanks,