[hibernate-issues] [Hibernate-JIRA] Created: (BVAL-38) Add built-in constraints

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Oct 10 16:15:04 EDT 2008


Add built-in constraints
------------------------

                 Key: BVAL-38
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-38
             Project: Bean Validation
          Issue Type: New Feature
          Components: ri-general, spec-general
            Reporter: Emmanuel Bernard


@NotNull
@Null
@AssertFalse
@AssertTrue 
@Digits(integer, fraction) 
@Past
@Future
@Min / @Max
@Size (String collection, arrays)

Probably need:
 @Like(caseSensitive, escapeChar) or @Contains(startWith, endWith, caseSentitive)
  
 @RegExp seems a complex problem


Maybe @Email, @URL as they are standardized in HTML 5

-- 
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