0

I am new to JSR380, and I am trying to validate String that will later be converted to BigDecimal. The same variable also needs to accept empty and blank Strings (and convert them to [null]). Is there a better way then using @Pattern and regexp?

bkomo
  • 63
  • 1
  • 9
  • I think - yes! One of the comments shows how to create a custom validation and I think I will try that. Thank you! – bkomo May 12 '22 at 12:25

0 Answers0