On 15 mai 2012, at 23:51, Andrej Golovnin wrote:
One more thing: Could we have a property similar to
"hibernate.listeners.envers.autoRegister"
for Validator? I would like to disable Validator completely as it produces too much
garbage
(look at the pictures) when the application is deployed.
javax.persistence.validation.mode NONE
should already do that ie disable the integration between JPA and Bean Validation. If
that's not the case, there is a bug somewhere but I could not spot it.
However, Bean Validation has to be activated by the EE container as per the spec. But the
"lazy" validator factory should mean that Hibernate Validator is not
bootstrapped unless it is used somewhere.