JavaBeans Validation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 37: Line 37:
* [[@Size]]
* [[@Size]]
* [[@NotBlank]]
* [[@NotBlank]]
==Custom Annotations==
JavaBeans Validation supports custom annotation constraints, which require a custom implementation class.


=Hibernate Validator=
=Hibernate Validator=

Revision as of 17:46, 16 October 2018

External

Internal

Overview

Concepts

Validation Provider

Expression Support

Annotations

Built-in Constraint Annotations

Custom Annotations

JavaBeans Validation supports custom annotation constraints, which require a custom implementation class.

Hibernate Validator

Hibernate Validator is a JSR-303 and JSR-349 provider.

Hibernate Validation Annotations

Generic JavaBeans Validation Example

Generic JavaBeans Validation Example