[hibernate-issues] [Hibernate-JIRA] Commented: (HV-471) Group has to be an interface - Documentation or code bug
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Fri May 6 06:20:59 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HV-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42263#action_42263 ]
Hardy Ferentschik commented on HV-471:
--------------------------------------
ahh - the documentation is wrong then. I'll fix it.
> 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
>
> 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