I\'ve been able to have JPA/Hibernate to replicate the ON DELETE CASCADE functionality successfully (seems like the default behaviour) but I\'m now trying to re
ON DELETE CASCADE
What about defining
@ForeignKey(name = "fk_student_teacher", foreignKeyDefinition = " /*FOREIGN KEY in sql that sets ON DELETE SET NULL*/")
?