Kind of. What I mean is that the HEM integration code is allowing Set
<ValidationMode>. So our impl allows a value like "auto, ddl" or other
combos. I am not able to grok why we allow multiples.
Also auto and callback are slightly different. callback causes an error if
no bv provider is available whereas auto then skips validation.
On Feb 22, 2013 2:08 PM, "Hardy Ferentschik" <hardy(a)hibernate.org> wrote:
On 22 Jan 2013, at 6:26 PM, Steve Ebersole <steve(a)hibernate.org> wrote:
> Any idea why the ORM/JPA Bean Validation integration code allows
> multiple validation modes to be specified?
Are you talking about "auto", "callback", "none"? Well,
"callback" to
enable validation,
"none" to disable it. Why there is also "auto" which behaves like
"callback" I am not so sure.
Maybe to allow for future additional options and given the JPA provider a
choice to
select one!?
Is this what you meant?
--Hardy