Posted by: eserhan on: October 31, 2009
This property is to clear the relation or unmapped child date to be removed from the DB. Cascade Delete has 3 types of values. 1) None 2) Clear 3) Delete
1) None: When we are deleting the Parent record if we don’t want to untouch the child record we will set the property as “None” for the Cascade Delete.
2) Clear: If this property selected the relation ship b/w the parent and the child will be cleared but the child record will not be deleted. This will be useful when the child is the part of any other join.
3) Delete: This will delete the child record along with the parent record.