unfortunately hibernate doesn't quite work like that.
The Cascade.ALL reference on the OneToMany only means that if you call
session.delete(parent) it'll cascade down to this collection as well.
In order to delete a single child element you need to actually call
session.delete(child). Faili
Hello,
I am using Struts 2 basic archtype version 2.0.1. I have been unsuccessful
in using DAO for deleting a child in a simple parent/child relationship.
Here are the steps that I took.
1. Create Master POJO:
@Entity
public class Parent extends