[hibernate-issues] [Hibernate-JIRA] Assigned: (BVAL-38) Add built-in constraints
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Fri Oct 10 16:19:04 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/BVAL-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bernard reassigned BVAL-38:
------------------------------------
Assignee: Hardy Ferentschik
Hardy, you need to use them in the spec and associate them with an actual implementation "manually" as they do not have a @ConstraintValidator annotation
Also see BVAL-31
> 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
> Assignee: Hardy Ferentschik
>
> @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