[bv-dev] Ordered Validation (practically)

Gunnar Morling gunnar.morling at googlemail.com
Wed Jan 4 02:55:26 EST 2012


Hi,

welcome to the list.

> "When @ReportAsSingleViolation is present, short circuit."

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.

Another question would be how constraints from different sources
(annotation, XML) would be ordered.

--Gunnar
Am 04.01.2012 07:37 schrieb "Peter Davis" <davispw at gmail.com>:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20120104/3d1eaba1/attachment.html 


More information about the beanvalidation-dev mailing list