[hibernate-issues] [Hibernate-JIRA] Commented: (HV-319) Example in online documention reference javax.validation.ConstraintPayload instead of javax.validation.Payload

Marc Schipperheyn (JIRA) noreply at atlassian.com
Thu May 6 06:38:06 EDT 2010


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

Marc Schipperheyn commented on HV-319:
--------------------------------------

That's where I saw it, I figured ConstraintPayload was a special case of Payload.

> Example in online documention reference javax.validation.ConstraintPayload instead of  javax.validation.Payload
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HV-319
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-319
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 4.0.2.GA
>            Reporter: Marc Schipperheyn
>            Assignee: Hardy Ferentschik
>             Fix For: 4.1.0
>
>
> 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