Add a new setting hibernate.jpa.compliance.delete which controls how to handle deletion / removal of a detached entity. While Hibernate allows this, JPA says it is illegal.