[bv-dev] XML-based configuration of method constraints and group conversions

Gunnar Morling gunnar at hibernate.org
Fri Jan 18 04:47:09 EST 2013


2013/1/18 Hardy Ferentschik <hardy at hibernate.org>

> I don't even use annotation I can do something like (just listing the
> parameter):
>
> <parameter type="long"/>
>

Yes, you would do it like this.

If the parameter has constraint annotations and ignore-annotations is true
on a superior level, this would remove any existing constraints from this
parameter, though. If that's not wanted, you'd have to specify

<parameter type="long" ignore-annotations="false"/>

--Gunnar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20130118/f6abb915/attachment.html 


More information about the beanvalidation-dev mailing list