Bean Validation range constraint
<p>I need to implement range constraints on Entity data fields:</p>

<pre><code>@Entity
@Table(name = "T_PAYMENT")
public class Payment extends AbstractEntity {

    //....

    //Something like that
    @Range(minValue = 80, maxValue = 85)
    private Long paymentType;

}
</code></pre>

<p>I already created validating service, but have to implement many of these cases. </p>

<p>I need the app to throw exception if the inserted number is out of range. </p>