title: Hibernate validator sequence or order
body: <p>I am working with <strong>hibernate framework</strong> and I want to apply <strong>hibernate constraint</strong> on my <strong>@Entity</strong> class. I want to execute/run constraint on it's order/sequence as define inside @Entity class.</p>
  
  <pre><code>@Entity
  @Table(name = "User")
  public class User{
      @NotNull
      @NotBlank
      @Pattern(regexp = "[a-zA-Z]+")
      @Length(max = 10)
      private String firstName;
  }
  </code></pre>
  
  <p>I want to execute constrain as below order:</p>
  
  <pre><code>    1) @NotNull
      2) @NotBlank
      3) @Pattern(regexp = "[a-zA-Z]+")
      4) @Length(max = 10)
  </code></pre>
  
  <p>Any one please help me how can I achieve it. I also want to apply constrain order/sequence on more than one field.</p>