title: Make Size validator ignore null for optional fields in JSF JPA?
body: <p>Lets say I have a Table with a text field called player that is null ok.
  So nulls are allowed, but if not null (has a value) the size of the text/string must be between 10 and 100.
  I have this to start:</p>
  
  <pre><code>@Column(name = "player", nullable = true)
  @Size(min = 5, max = 100)
  private String player;
  </code></pre>
  
  <p>But when Set the field to null the JSF page is throwing a validation error.</p>
  
  <p>Is there a way to make the Size validator ignore nulls?</p>