Making the validator factory available via EntityManagerFactory.getProperties().get("javax.persistence.validation.factory").