From the course: Java EE: Bean Validation
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Hibernate constraints overview
From the course: Java EE: Bean Validation
Hibernate constraints overview
- [Narrator] Besides the Java EE-provided implementation of the Bean Validation specification, there is another implementation. It is provided by Hibernate, and is called Hibernate Validator, and is one of the many great projects under the Hibernate organization. Hibernate Validator is referred to as a reference implementation, or the Bean Validation API JSR 380, because it implements all of the features specified in the JSR specification, and can be used as a substitute for the implementation provided by Java EE. In fact, you'll find that most developers prefer the Hibernate Validator implementation for many reasons, not just because it integrates well with other Hibernate projects, such as Hibernate ORM, that's Hibernate's JPA implementation, but because it comes with so many more built-in constraints. Hibernate Validator provides the same set of constraints as the built-in constraints, but also, extends them with a range of very useful custom constraints. Among these are…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.