[hibernate-issues] [Hibernate-JIRA] Created: (BVAL-283) Clarify that ConstraintValidator instances must be destroyed after each method validation call if the ConstraintValidatorFactory is provided to the Validator

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Mar 29 04:46:48 EDT 2012


Clarify that ConstraintValidator instances must be destroyed after each method validation call if the ConstraintValidatorFactory is provided to the Validator
-------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: BVAL-283
                 URL: https://hibernate.onjira.com/browse/BVAL-283
             Project: Bean Validation
          Issue Type: Bug
    Affects Versions: 1.1.0.Alpha1 (early draft 1)
            Reporter: Emmanuel Bernard
             Fix For: 1.1.next


Validator validator = validatorFactory.usingContext().constraintValidatorFactory(otherCVF).getValidator()

each method call for validator using ConstraintValidator instances must request then and release them as we won't have any close hook in Validator.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list