Customizing Bean Validation in Spring

Here’s an example of how to customize the javax.validation.Validator instance in Spring 5. ┬áValidator is the Java API for bean validation that was introduced in the JSR-303 specification. ┬áHibernate Validator is bundled with Spring Boot 2, and is the de facto reference implementation for bean validation. Why would you need to do something like this? Read More …