How to do Validation in Spring Boot | REST API using Hibernate Validator | @valid |@ControllerAdvice

preview_player
Показать описание
In this lecture, we are going to discuss how to implement validation in spring boot using Hibernate Validator
Spring validator
Spring boot validator
Hibernate Validator
What is Validating?
Validating data is a common task that occurs throughout all application layers, from the presentation to the persistence layer. Often the same validation logic is implemented in each layer which is time consuming and error-prone. To avoid duplication of these validations, developers often bundle validation logic directly into the domain model.
Рекомендации по теме
join shbcf.ru