For example:
@Entity public void Employment { @Id private long id; @ManyToOne(optional=false) @NotFound(action = NotFoundAction.IGNORE) @JoinColumn(foreignKey = @ForeignKey(ConstraintMode.NO_CONSTRAINT)) private Employee employee;
@NotFound(action = NotFoundAction.IGNORE) is not compatible with a non-optional association. Hibernate should throw a MappingException when this is detected.