Hi
I am using hibernate validation to validate a brazillian number for companies, called CNPJ
@CNPJ @Column(nullable = true, length = 18, unique = true) private String cnpj; But in my form this field is not required.
But and I try to save a register with CNPJ field null, I got a NotValidException.
How do I not validate if this field is null ?