[
http://opensource.atlassian.com/projects/hibernate/browse/HV-522?page=com...
]
Emmanuel Bernard commented on HV-522:
-------------------------------------
Hi Brian, I have a couple of questions:
- is that a problem in practice?
- which spec are you referring to, Bean Validation or the JavaBeans spec wrt native
boolean types vs Boolean type. It seems more like a mistake than an intentional
restriction,
Bean Validation should use java.beans.PropertyDescriptor
--------------------------------------------------------
Key: HV-522
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-522
Project: Hibernate Validator
Issue Type: Bug
Affects Versions: 4.0.0.Alpha1
Environment: Any
Reporter: Brian
Priority: Minor
Right now, hibernate determines a matching getter and setters by matching methods that
start with "get" and "set" or "is" and "set". But
the spec says that "is" should only be considered when the type is little
boolean.
Hibernate should fail validation in this case because it doesn't match the spec:
public Boolean isVariable()
public Boolean setVariable()
because in this case "is" should be "get" since it is not a little
boolean.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira