Validating the value

Constraints on static fields are not supported, though.If your model class adheres to the Java Beans standard, it is also possible to annotate the properties of a bean class instead of its fields.

If the object is a collection or an array, the elements are validated recursively.The version (30.0) of the browser you are using is outdated and not supported.You should consider upgrading to a more up-to-date browser.Hibernate Validator comprises a basic set of commonly used constraints.These are foremost the constraints defined by the Bean Validation specification (see Table 2.2, “Bean Validation constraints”).

Search for validating the value:

validating the value-49validating the value-19validating the value-42

With one exception also these constraints apply to the field/property level, only Checks that the annotated character sequence is not null and the trimmed length is greater than 0.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “validating the value”