[
http://opensource.atlassian.com/projects/hibernate/browse/HV-269?page=com...
]
Hardy Ferentschik commented on HV-269:
--------------------------------------
I am fine with processing all annotations. As Emmanuel is saying it's not a runtime
thing. This way it should also be easier to handle custom constraints. If we process all
annotations we don't have to worry about how to ensure that the custom constraint gets
processed. The only thing we need would be a mechanism to pass the validation logic for a
custom constraint to the processor.
This could be as easy as having a properties file where the key is the constraint class
name and the value an implementation of a (yet to be specified) constraint declaration
validation interface :)
Of course these values could initially be passed via command line options (-A[key[=val]])
to the annotation processor.
Create an annotation processor validating constraint and property
matching
--------------------------------------------------------------------------
Key: HV-269
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-269
Project: Hibernate Validator
Issue Type: New Feature
Components: engine, validators
Affects Versions: 4.0.2.GA
Reporter: Emmanuel Bernard
Assignee: Hardy Ferentschik
Fix For: 4.1.0
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira