If I delete a record from the Parent table I want the corresponding records in the child table to be deleted. How can I make Hibernate delete from the Child tabl
I encountered this error all the time.
Just put an inverse="true" on the relationship and your problem will go away!
Basically the inverse will tell hibernate the child cannot exist without a parent, thereby causing hibernate to delete the child.
Having said that, you'll also need to remove the charityTransfer object from the collection in the parent as well.