3c047788_ter_2__Validation_step_by_step__Use
[Annotation] @DecimalMax [Supported data types] BigDecimal, BigInteger, String, byte, short, int, long and the respective wrappers of the primitive types. Additionally supported by HV: any sub-type of Number. [Hibernate metadata impact] none [Use] 
The annotated element must be a number whose value must be lower or equal to the specified maximum. The parameter value is the string representation of the max value according to the BigDecimal string representation.
Chapter 2. Validation step by step
Use