Java Reference
In-Depth Information
Click here to view code image
@GroupSequence({Default.class, ExpensiveValidationGroup.class})
public interface FullValidationGroup {}
When validating FullValidationGroup , first the Default group is validated. If all
the data passes validation, then the ExpensiveValidationGroup group is validated.
If a constraint is part of both the Default and the ExpensiveValidationGroup
groups, the constraint is validated as part of the Default group, and will not be validated
on the subsequent ExpensiveValidationGroup pass.
Search WWH ::




Custom Search