My project has some Entities stored in Mysql and we are using Hibernate Validator as JSR 303 implementation.
My problem is that GWT ServiceLayerDecorator considers that any operations on the database need a complete validation on the objects, even delete (in my case).
Maybe it would be nice if we had the possibility to choose "FOR A GIVEN METHOD" declared in a RequestContext to skip the validation and just execute the method, bypassing the validation.
(maybe with a @ValidatorPolicy(ValidatorPolicy.SKIPPED))
Even if I'm conscious that my DB should not be invalid toward my validators,it is very embarrassing because it need a intervention directly on the DB (validators block the GWT user and even a Administrator could not repair the damages done in the DB through my app).
What do you think about this ?--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qJfh_gGGi4IJ.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.