[hibernate-issues] [Hibernate-JIRA] Created: (BVAL-189) Bean Validation should use java.beans.PropertyDescriptor

Brian (JIRA) noreply at atlassian.com
Thu Oct 1 10:39:50 EDT 2009


Bean Validation should use java.beans.PropertyDescriptor
--------------------------------------------------------

                 Key: BVAL-189
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-189
             Project: Bean Validation
          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.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list