JavaBeans Validation: Difference between revisions
Jump to navigation
Jump to search
m (Ovidiu moved page Bean Validation to JavaBeans Validation without leaving a redirect) |
|||
Line 23: | Line 23: | ||
==Constraints== | ==Constraints== | ||
* [[@AssertFalse]] | |||
* [[@AssertTrue]] | |||
* [[@DecimalMax]] | |||
* [[@DecimalMin]] | |||
* [[@Digits]] | |||
* [[@Future]] | |||
* [[@Max]] | |||
* [[@Min]] | |||
* [[@NotNull]] | * [[@NotNull]] | ||
* [[@Null]] | |||
* [[@Past]] | |||
* [[@Pattern]] | |||
* [[@Size]] | * [[@Size]] | ||
* [[@NotBlank]] | * [[@NotBlank]] | ||
=Hibernate Validator= | =Hibernate Validator= |
Revision as of 17:37, 16 October 2018
External
Internal
Overview
- Bean Validation 1.0 JSR-303 https://jcp.org/en/jsr/detail?id=303
- Bean Validation 1.1 JSR-349 https://jcp.org/en/jsr/detail?id=349
Concepts
Validation Provider
Expression Support
Annotations
Constraints
- @AssertFalse
- @AssertTrue
- @DecimalMax
- @DecimalMin
- @Digits
- @Future
- @Max
- @Min
- @NotNull
- @Null
- @Past
- @Pattern
- @Size
- @NotBlank
Hibernate Validator
Hibernate Validator is a JSR-303 and JSR-349 provider.