Unidirectional « Cascade « JPA Q&A





1. Cascading for unidirectional 1-N relationships    forum.hibernate.org

Hi, I've read the manual section covering cascades on bidirectional 1-N relations. However, I'm using a unidirectional relation from child (N) to parent (1). In other words, there is no direct link from the parent object to it's children. Is it possible to model a cascade delete (children get deleted when parent is deleted) in the mapping file, or can this ...

2. M-1 unidirectional cascade failure.    forum.hibernate.org