|
|
|
@ -3737,7 +3737,7 @@ use `FormatterRegistrar` implementations. |
|
|
|
By default, if <<core.adoc#validation-beanvalidation-overview, Bean Validation>> is present |
|
|
|
By default, if <<core.adoc#validation-beanvalidation-overview, Bean Validation>> is present |
|
|
|
on the classpath (for example, the Hibernate Validator), the `LocalValidatorFactoryBean` |
|
|
|
on the classpath (for example, the Hibernate Validator), the `LocalValidatorFactoryBean` |
|
|
|
is registered as a global <<core.adoc#validator,validator>> for use with `@Valid` and |
|
|
|
is registered as a global <<core.adoc#validator,validator>> for use with `@Valid` and |
|
|
|
`Validated` on `@Controller` method arguments. |
|
|
|
`@Validated` on `@Controller` method arguments. |
|
|
|
|
|
|
|
|
|
|
|
In your Java configuration, you can customize the global `Validator` instance, |
|
|
|
In your Java configuration, you can customize the global `Validator` instance, |
|
|
|
as the following example shows: |
|
|
|
as the following example shows: |
|
|
|
|