From a spec point of view this can only be addressed in an upcoming version of Bean Validation (1.2 or even 2). There is, however, already a related issue in Hibernate Validator (HV-819) which will make this available as provider specific solution.
Needs a thought regarding backwards compatibility of course.
|