[hibernate-issues] [Hibernate-JIRA] Assigned: (HV-471) Group has to be an interface - Documentation or code bug

Kevin Pollet (JIRA) noreply at atlassian.com
Tue May 10 02:49:59 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Pollet reassigned HV-471:
-------------------------------

    Assignee: Kevin Pollet

> Group has to be an interface - Documentation or code bug
> --------------------------------------------------------
>
>                 Key: HV-471
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-471
>             Project: Hibernate Validator
>          Issue Type: Task
>    Affects Versions: 4.1.0.Final
>            Reporter: Vladislav Pernin
>            Assignee: Kevin Pollet
>
> The documentation says :
> The Bean Validation specification does not enforce that groups have to be interfaces. Non interface classes could be used as well, but we recommend to stick to interfaces.
> But the code says something else :
> javax.validation.ValidationException: A group has to be an interface. <class.name> is not.
> 	at org.hibernate.validator.engine.groups.GroupChainGenerator.getGroupChainFor(GroupChainGenerator.java:52)
> 	at org.hibernate.validator.engine.ValidatorImpl.determineGroupExecutionOrder(ValidatorImpl.java:176)
> 	at org.hibernate.validator.engine.ValidatorImpl.validate(ValidatorImpl.java:113)
> Could it be related to HV-165 ?

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