[
http://opensource.atlassian.com/projects/hibernate/browse/HV-94?page=com....
]
Hardy Ferentschik commented on HV-94:
-------------------------------------
It really makes only sense for _validate_ (maybe _validateProperty_).
The usecase would conditional validation based on the state of the object (see forum
thread as example).
I guess you could also use class level validators, but you could not use this with
built-in constraints and you are placing the constraint on class level and not on the
affected property. Using HV _@ScriptAssert_ could maybe be used in some cases.
Introducing opens up another approach to conditional validation. Given that it is quite
straight forward to add and not breaking any BV constraints it seems to be a reasonable
feature to add.
Support dynamic default group sequence definition
-------------------------------------------------
Key: HV-94
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-94
Project: Hibernate Validator
Issue Type: New Feature
Components: engine
Reporter: Emmanuel Bernard
Assignee: Hardy Ferentschik
Priority: Minor
Fix For: 4.2.0.Beta2
Will probably not be spec'ed in the 1.0 JSR but can be added as a RI feature.
--
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