For the two phase approach of creating an EntityManagerFactory, the ValidatorFactory may not be known during the first phase (e.g. if we are enhancing classes, its not certain whether "javax.persistence.validation.factory" should be a deployment specific validator factory or a global validator factory).
This jira is about adding a way to pass a ValidatorFactory handler to the EntityManagerFactory builder, where the handler will return the ValidatorFactory when requested.
|