I remember that I wanted to stress test my application with junk data (to push my REST endpoints to the limits). And BV was on the way (in the @PathParam), so most of the calls would no succeed. For this scenario I had to remove the validation from my endpoint, run the tests... and put them back :o( It would be nice to be able to disable BV in JAX-RS in XML, just like we do in JPA or JSF. |