Hardy Ferentschik
edited a comment
on
HV-906
Re: org.hibernate.validator.constraints.CreditCardNumber does not fail on a non-numbers string
Ok,
I see that this ModCheckValidator has a
`
{{
ignoreNonDigitCharacters
`
}}
boolean parameter.
so, how can I use it?
this does not compile:
{code}
class User {
@CreditCardNumber(ignoreNonDigitCharacters = false)
public String cardNumber;
{code}
Add Comment
This message was sent by Atlassian JIRA
(v6.3-OD-07-013#6327-
sha1:66bf7cb
)