Joined: Wed Mar 07, 2007 3:26 am Posts: 16 Location: Hyderabad,India
|
hi, i have also faced same problem iam giving u 2 suggestions not a solution because iam also not sure ok
1)<set name="users" table="USERSGROUPS" lazy="false" inverse="true" cascade="all">
delete cacade="all" attribute in ur set tag ok i think this will work
y because cascade="all" means it deletes/updates/saves on every operation of parent including all of its child objects so any where cascade="all" is there just delete it or make it cascade="save-update"
2)in ur data base go to fields of that table and make it set no action for ondelete cascade option
_________________ sam
|
|