[hibernate-issues] [Hibernate-JIRA] Commented: (HV-319) ConstraintPayload not part of javax.validation

Hardy Ferentschik (JIRA) noreply at atlassian.com
Thu May 6 05:56:06 EDT 2010


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

Hardy Ferentschik commented on HV-319:
--------------------------------------

{{javax.validation.ConstraintPayload}} got renamed into {javax.validation.Payload}} for the final release of the Bean Validation spec. Check for this class. Which documentation are you referring to? The Hibernate Validator documentation? I had a quick look at at http://docs.jboss.org/hibernate/stable/validator/reference/en/html_single and you are right that there the class imports still say {{javax.validation.ConstraintPayload}}. That needs of course updating. If you are referring to another documentation let us know so that we can update it.

> ConstraintPayload not part of javax.validation
> ----------------------------------------------
>
>                 Key: HV-319
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-319
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 4.0.2.GA
>            Reporter: Marc Schipperheyn
>            Assignee: Hardy Ferentschik
>
> The documentation describes Constraint Payload as a way to implement marker interfaces for a custom constraint. However, the ConstraintPayload is not part of javax.validation 1.0.0.GA. It was part of 1.0.0.CR4 and subsequently disappeared from the release. Not sure if this was intentional, but as it is, we cannot use that feature and either it should be added to javax.validation 1.0.1, disappear from the documentation or a Hibernate validator specific implementation should be created for it.

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