I want to delete orphan entities using hibernate and JPA on a many-to-many relationship but all that I found was this attribute the attribute. org.hibernate.annotations.Casc
So far there is no orphanRemoval attribute for the ManyToMany annotation. I have the same problem too. And the suggestion to implement it to on the database is no answer to the problem. The whole philosophy of JPA is against implementing logic on the database, but through the mappings.