Neither solution work, I think. The latest does not compile in Java. Your initial solution does not accept parameters nor multiple constraints of the same type.
And neither allow for parallel reports (ie all errors of order=1) but that's a lesser concern.

On 5 janv. 2012, at 13:14, Cemo wrote:

 What about this? 

   private String creditCard;


On 5 January 2012 13:56, Cemo <> wrote:


   @ConstraintSequence(value={NotEmpty.class, IsValidBinCodeNumber .class,IsCardBannedNumber.class, IsValidCardNumber.class}, shortCirtcuit=true)

beanvalidation-dev mailing list