Control validation annotations order?
Use JSR-303 validation groups. If no groups are specified a constraint is part of the Default Bean Validation group (see: javax.validation.groups.Default). Create an interface to be your “Extended” (or whatever you want to call it) group: public interface Extended{} Now create an interface that will have the javax.validation.GroupSequence annotation. @GroupSequence({Default.class, Extended.class}) public interface MySequence {} … Read more