| Modifier and Type | Field and Description |
|---|---|
| public static final ValidationMode | AUTO
If a Bean Validation provider is present in the environment, the persistence provider must perform the automatic validation of entities. |
| public static final ValidationMode | CALLBACK
The persistence provider must perform the lifecycle event validation. |
| public static final ValidationMode | NONE
The persistence provider must not perform lifecycle event validation. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ValidationMode | |
| public static ValidationMode[] |
| AUTO | back to summary |
|---|---|
| public static final ValidationMode AUTO If a Bean Validation provider is present in the environment, the persistence provider must perform the automatic validation of entities. If no Bean Validation provider is present in the environment, no lifecycle event validation takes place. This is the default behavior. | |
| CALLBACK | back to summary |
|---|---|
| public static final ValidationMode CALLBACK The persistence provider must perform the lifecycle event validation. It is an error if there is no Bean Validation provider present in the environment. | |
| NONE | back to summary |
|---|---|
| public static final ValidationMode NONE The persistence provider must not perform lifecycle event validation. | |
| ValidationMode | back to summary |
|---|---|
| private ValidationMode() | |
| valueOf | back to summary |
|---|---|
| public static ValidationMode valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ValidationMode[] values() | |