I have a one-to-many relation between Parent and Child table. In the parent object I have a
List setChildren(List childs)
Use org.hibernate.annotations for doing Cascade , if the hibernate and JPA are used together , its somehow complaining on saving the child objects.
org.hibernate.annotations
Cascade
hibernate
JPA