[
http://opensource.atlassian.com/projects/hibernate/browse/HV-234?page=com...
]
Emmanuel Bernard commented on HV-234:
-------------------------------------
Well what does the spec says then?
AFAIK this is implied by the spec as we say:
- primitives are considered like their Wrappers
- the correct ConstraintValidator is chosen by the JSL rules
and someone can write a CosntraintValidator<Constraint, Integer[]>
make sure int[] is converted in Integer[] when needed by a
constraintValidator call
-----------------------------------------------------------------------------------
Key: HV-234
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-234
Project: Hibernate Validator
Issue Type: Bug
Components: engine
Affects Versions: 4.0.0.CR1
Reporter: Emmanuel Bernard
Assignee: Hardy Ferentschik
Fix For: 4.0.0.GA
int[] getSizes();
class MyCV implements ConstraintValidator<Size, Integer[]> {}
=> should work.
--
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