• Post Reply Bookmark Topic Watch Topic
  • New Topic

spring module bean validation error

 
dhaval nagar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using spring modules bean validation framework with Valang to validate my data beans.

Some of my data beans contains fields in the uppercase, ValangValidator gives an error while validating such uppercase fields.

Please show me the way to validate the uppercase fields.

Regards,
Dhaval
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you change those properties to lowercase? Because if they are upper case they violate the JavaBean standard, which I believe the module is using.

Mark
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!