[
http://opensource.atlassian.com/projects/hibernate/browse/BVAL-38?page=co...
]
Hardy Ferentschik commented on BVAL-38:
---------------------------------------
@NotNull, @Null, @AssertFalse, @AssertTrue, @Past, @Future, @Min, @Max, @Size (String
collection, arrays) are implemented
@Digits, @Like, @Contains, @Email and @URL needs implementing.
There is a existing @Pattern implementation. Maybe can be renamed to @RegExp in case we
want to change the names. Why are the regular expressions a problem?
Are these all really built-in constraints. Or are some built-in per spec and other just
annotations we deliver as part of Hibernate's Bean Validation implementation?
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira