[hibernate-issues] [Hibernate-JIRA] Moved: (HV-522) Bean Validation should use java.beans.PropertyDescriptor

Emmanuel Bernard (JIRA) noreply at atlassian.com
Tue Sep 27 09:02:35 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard moved BVAL-189 to HV-522:
------------------------------------------

    Affects Version/s:     (was: 4.0.0.Alpha1)
                       4.0.0.Alpha1
                  Key: HV-522  (was: BVAL-189)
              Project: Hibernate Validator  (was: Bean Validation)

> 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

        


More information about the hibernate-issues mailing list