- 博客(5)
- 收藏
- 关注
原创 JAP Specification FIND_IN_SET 查询
使用 findAll 时 需实现 org.springframework.data.jpa.repository.JpaSpecificationExecutorJAP Specification FIND_IN_SET 查询 包含分页 OR AND 排序。//typeList find_in_set条件。//pageSize 每页显示条数。//pageNo 页码。
2024-02-06 09:21:46 251
原创 三元运算符
[条件语句] ? [表达式1] : [表达式2] 条件语句为真执行表达式1,否则执行表达式2 String abc = " abc "; System.out.println(abc == null ? null : StringUtils.trim(abc)); 输出:abc ...
2019-06-27 10:56:35 120
原创 StringUtils之(isEmpty与isBlank)-(isNotEmpty与isNotBlank)
isEmpty与isBlank isBlank: StringUtils.isBlank(null) = true StringUtils.isBlank("") = true StringUtils.isBlank(" ") = true StringUtils.isBlank("bob") = false StringUtils.isBlank(...
2019-06-27 10:24:42 405
原创 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 记录一下次错误,使用ssh框架,原因是其中包含MYSQL关键字. 解决方法: 添加符号`(英文状态下数字键盘最前面一个),...
2018-10-16 14:32:44 1105
原创 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column '表名0_.role' in 'field list
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'apppathway0_.role' in 'field list' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun...
2018-06-21 15:15:32 978
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人