title: Java Digits Validation
body: <p>I'm using validation in a int attribute:</p>
  
  <pre><code>@Digits(integer=6,fraction=0)
  private Integer idOrder;
  </code></pre>
  
  <p>But I wanted this attribute has exactly 6 digits.</p>
  
  <p>How can I do that? (Using JSP+Spring+Hibernate)</p>