[hibernate-issues] [Hibernate-JIRA] Assigned: (HV-530) Explain propagation of redefined default groups across associated instances annotated with @Valid

Hardy Ferentschik (JIRA) noreply at atlassian.com
Thu Dec 8 08:54:23 EST 2011


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

Hardy Ferentschik reassigned HV-530:
------------------------------------

    Assignee: Hardy Ferentschik

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

        


More information about the hibernate-issues mailing list