会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
smileLS
博客园
首页
新随笔
联系
管理
订阅
2019年10月9日
参数校验的@NotNull和@NotBlank的区别
摘要: @NotNull和@NotBlank的区别 @NotBlank只能注释在字符串字段(String)上;不能注释在Integer;注释Integer的类型要用@NotNull 否则会报"HV000030: No validator could be found for type: java.lang.
阅读全文
posted @ 2019-10-09 15:16 smileLS66
阅读(173)
评论(0)
推荐(0)
编辑
公告