Gunnar Morling commented on Improvement HV-606

Hi Dale,

Validation of static methods is deliberately not supported as of Hibernate Validator 4.2 in order to be consistent with the BV 1.0 spec which says in section 3.1:

Static fields and static methods are excluded from validation.

That said, it might make sense to allow this in the future. Method validation will be standardized in Bean Validation 1.1, and the current spec draft also mandates validated methods to be non-static. Could you send a mail on that topic to the BV development mailing list to discuss that topic?

--Gunnar

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira