Closed pierre-duchesne closed 10 years ago
For instance
@NotNull @Size(min = 1, max=20) @Getter @Setter private String firstname;
The notNullvalidation is checked when persisting & updating (because the result of this beanValidation is a constraint directly on the database)
The Size validation is not checked when updating an entity.
Have you some advices to change this behavior ?
Is this still an active issue ? I cannot reproduce ...
Seems to be a missing @Valid BeanValidation annotation missing to force validation of nested entities.
I close this one.
For instance
The notNullvalidation is checked when persisting & updating (because the result of this beanValidation is a constraint directly on the database)
The Size validation is not checked when updating an entity.
Have you some advices to change this behavior ?