Suppose I have 2 Java objects: Parent and Child. The relationship between them is Child -> Parent = many-to-one, i.e. a number of Child objects can be associated with the same Parent.
A Child object is holding a reference to its Parent meanwhile Parent object has no field to address its Children.
In Hibernate that results in having a many-to-one element in Child mapping; Parent's mapping doesn't contain one-to-many entry since there is no need for a Parent object to have a collection field to reference all its Child objects.
Now, when Parent is deleted Oracle throws an exception that the entity cannot be deleted while there are child entities referencing it.
With this object model, is there a way to casacadely delete all Child objects that belong to Parent object when the latter gets deleted?