- 博客(4)
- 收藏
- 关注
转载 java.sql.SQLException: null, message from server: “Host ‘xx.xx.xx.xx’ is blocked because of many con
https://blog.youkuaiyun.com/qq_40236927/article/details/106525281
2023-03-31 10:31:24
2621
原创 注解@NotNull失效问题解决方法【导致原因:实体类循环嵌套】
Validated,在具体接口方法每个自定义实体对象参数前加@Valid。④在自定义实体对象属性上添加@valid注解。层接口前(可以省略),和具体接口类上添加注解。③在controller。同样加在方法自定义实体对象参数前,解决:①需在具体属性上面加上。
2023-03-31 10:13:27
3411
1
原创 Cause: java.sql.SQLException: Expression #1 of ORDER BY clause is not in SELECT list, references col
解决:order by与distinct联用时,需注意,使用order by排序的字段需包含在select查询字段中,否则报错;仅是使用order by,不使用distinct时,没有影响。
2023-03-31 10:05:01
920
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人