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