[
http://opensource.atlassian.com/projects/hibernate/browse/HV-530?page=com...
]
Hardy Ferentschik commented on HV-530:
--------------------------------------
Also Examples 2.19 and 2.21 are wrong. They imply that the redefined default sequence
propagates from _Car_ to _Driver_ which is not the case. The examples should be replaced,
preferably with working examples from the code.
Explain propagation of redefined default groups across associated
instances annotated with @Valid
-------------------------------------------------------------------------------------------------
Key: HV-530
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-530
Project: Hibernate Validator
Issue Type: Task
Components: documentation
Affects Versions: 4.2.0.Final
Reporter: Hardy Ferentschik
Fix For: 4.3.0.next
The examples about default group sequencing do not mention that the default sequence only
apply for constraints of the class or superclass. To associated entities only the group
Default will be propagated. The spec says:
{quote}
@Valid is an orthogonal concept to the notion of group. If two groups are in sequence,
the first group must pass for
all associated objects before the second group is evaluated. Note however that the
Default group sequence overriding
is local to the class it is defined on and is not propagated to the associated objects.
The following example illustrates
this
{quote}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira