I am using Spring @Valid annotation to validate bean fields annotated with javax.constraints annotations.
But I had a problem when I need to exclude some fields from the scan (only for some cases).
I conducted an investigation and did not find any useful ways, and most of the answers were dated 2010-2011. This is rather unexpected since this situation is so common.
Are there any changes from now on for Spring 4. +? Or maybe someone can share their personal experience, how to defeat this?
Thanks.
source share