Based on the type of a property, its validation can be implicit even if it is not annotated with a JSR303 annotation. Because in the client side the data is entered as a string, it is not obvious that the value can be converted correctly to the Java type.
This is the case of numeric types. For example "int","float", "double",... must have a particular format even if the property is not annotated.
Numeric properties format must be validated based on their type.
Based on the type of a property, its validation can be implicit even if it is not annotated with a JSR303 annotation. Because in the client side the data is entered as a string, it is not obvious that the value can be converted correctly to the Java type.
This is the case of numeric types. For example "int","float", "double",... must have a particular format even if the property is not annotated.
Numeric properties format must be validated based on their type.