[hibernate-issues] [Hibernate-JIRA] Commented: (HV-424) Validators for Joda types should be specified for ReadableInstant/ReadablePartial

Kevin Pollet (JIRA) noreply at atlassian.com
Sat Jan 22 13:19:05 EST 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39747#action_39747 ] 

Kevin Pollet commented on HV-424:
---------------------------------

The documentation have to be modified for @Past and @Future.
* http://docs.jboss.org/hibernate/validator/4.2/reference/en-US/html_single/#table-builtin-constraints

> Validators for Joda types should be specified for ReadableInstant/ReadablePartial
> ---------------------------------------------------------------------------------
>
>                 Key: HV-424
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-424
>             Project: Hibernate Validator
>          Issue Type: Improvement
>          Components: validators
>    Affects Versions: 4.2.0.Beta1
>            Reporter: Gunnar Morling
>            Assignee: Kevin Pollet
>             Fix For: 4.2.0.Beta2
>
>
> Currently the new @Future/@Past validators for the Joda types are defined for AbstractInstant/AbstractPartial. Instead they should be defined for Joda's base interfaces ReadableInstant/ReadablePartial in order to support implementations not derived from the abstract base types.

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