wce*_*ceo 3 hibernate hibernate-validator
我想知道Hibernate验证器@Min是否包含(等于或大于)有没有办法表达"严格大于"一个数字?
非常感谢 :)
If you work with Bean Validation 1.1 (part of Java EE 7) you may use @DecimalMin instead which has an additional attribute, inclusive, which controls whether "strictly greater than" or "greater than or equals to" semantics are used.
| 归档时间: |
|
| 查看次数: |
3591 次 |
| 最近记录: |