<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have created&nbsp;<a href="https://hibernate.onjira.com/browse/BVAL-259">https://hibernate.onjira.com/browse/BVAL-259</a><div><br><div><div>On 4 janv. 2012, at 16:39, Peter Davis wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF"><div>The order I'm suggesting is child&lt;parent which is perfectly well defined.<span class="Apple-style-span" style="">&nbsp; With @ReportAsSingleViolation the result (the ConstraintViolation) is identical no matter which child validation fails, so why invoke the parent's validator?</span></div>
<div><br>Regards,<br>Peter Davis</div><div><br>On Jan 3, 2012, at 23:55, Gunnar Morling &lt;<a href="mailto:gunnar.morling@googlemail.com">gunnar.morling@googlemail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite">
<div><p>Hi,</p><p>welcome to the list.</p><p>&gt; "When @ReportAsSingleViolation is present, short circuit."</p><p>I think the problem here is that this approach relies on the order of constraint annotations as specified in the source code. AFAIK there is no way to retrieve annotations which would garuantee this order.</p><p>Another question would be how constraints from different sources (annotation, XML) would be ordered.</p><p>--Gunnar</p>
<div class="gmail_quote">Am 04.01.2012 07:37 schrieb "Peter Davis" &lt;<a href="mailto:davispw@gmail.com">davispw@gmail.com</a>&gt;:<br type="attribution"></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>beanvalidation-dev mailing list</span><br><span><a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a></span><br>
<span><a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a></span><br></div></blockquote></div>
_______________________________________________<br>beanvalidation-dev mailing list<br><a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/beanvalidation-dev<br></blockquote></div><br></div></body></html>