1. Delete element from Set stackoverflow.comI have 2 classes Tema(Homework) and Disciplina (course), where a Course has a Set of homeworks. In Hibernate i have mapped this to a one-to-many associations like this:
|
2. Eclipse deletes *.hbm.xml files in the bin folder forum.hibernate.org |
3. DELETE in HIBERNATE hbm.xml forum.hibernate.org1)hbm.xml: |
4. retrieve hbm cascade="all-delete-orphan" inside ja forum.hibernate.org |