[
http://opensource.atlassian.com/projects/hibernate/browse/HV-270?page=com...
]
Hardy Ferentschik edited comment on HV-270 at 3/17/11 10:52 AM:
----------------------------------------------------------------
The following checks should be added to the AP:
* @DecimalMax, @DecimalMin should have a valid BigDecimal representation
* @Digits should have integer >= 0 and fraction >= 0
* @Length should have min >= 0, max >= 0 and min <= max
* @Pattern should have a valid regular expression
* @Size should have min >=0, max >= 0 and min <= max
* @ScriptAssert should have script, lang and alias with a length > 0
Maybe I've forgotten some checks, feel free to complete the list ;)
was (Author: kevinpollet):
The following checks should be added to the AP:
* DecimalMax, DecimalMin should have a valid BigDecimal representation
* Digits should have integer >= 0 and fraction >= 0
* Length should have min >= 0, max >= 0 and min <= max
* Pattern should have a valid regular expression
* Size should have min >=0, max >= 0 and min <= max
* ScriptAssert should have script, lang and alias with a length > 0
Maybe I've forgotten some checks, feel free to complete the list ;)
Verify in the annotation processor that constraints are not stupid
------------------------------------------------------------------
Key: HV-270
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-270
Project: Hibernate Validator
Issue Type: New Feature
Components: annotation-processor
Affects Versions: 4.0.2.GA
Reporter: Emmanuel Bernard
Fix For: 4.2.0.CR1
For example:
* {{@Pattern}} should have a valid regular exception
* {{@Size}} should have min <= max
etc
--
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