In this video tutorial, we will learn how to validate Spring boot REST API requests using Hibernate validator.
Student Management System Project
Timestamps:
- Java bean validation basics 0:56
- Important bean validations 2:15
- Validation in Spring Boot 3:40
- Spring Boot Hibernate Validator Example 4:25
- Test Validation using Postman client 23:52
In Java, the Java Bean Validation framework has become the de-facto standard for handling validations in Java projects.
JSR 380 is a specification of the Java API for bean validation and this ensures that the properties of a bean meet specific criteria, using annotations such as @NotNull, @Min, and @Max.
Hibernate Validator is the reference implementation of the validation API.
Spring boot provides good integration support with Hibernate validator.
Blog post at https://www.javaguides.net/2021/03/validation-in-spring-boot-rest-api-with-hibernate-validator.html
Github - https://github.com/RameshMF/springboot-validation
Download
0 formats
No download links available.
Validation in Spring Boot | Hibernate Validator | Crash Course | NatokHD