You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In section 5.7.1 of the current documentation (Overview of the JSR-303 Bean Validation API), the example annotates a string field with @Max(64). As far as I know, that annotation is intended for numerals and not strings.
Tested it and fails to validate with Hibernate Validator (at least if the expected effect is that the string size is less than 64).
Carlos Vara opened SPR-6517 and commented
In section 5.7.1 of the current documentation (Overview of the JSR-303 Bean Validation API), the example annotates a string field with
@Max
(64). As far as I know, that annotation is intended for numerals and not strings.Tested it and fails to validate with Hibernate Validator (at least if the expected effect is that the string size is less than 64).
Affects: 3.0 RC2
Referenced from: commits 12892ee
The text was updated successfully, but these errors were encountered: