自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 235

原创 三元运算符

[条件语句] ? [表达式1] : [表达式2]条件语句为真执行表达式1,否则执行表达式2String abc = " abc ";System.out.println(abc == null ? null : StringUtils.trim(abc));输出:abc...

2019-06-27 10:56:35 115

原创 StringUtils之(isEmpty与isBlank)-(isNotEmpty与isNotBlank)

isEmpty与isBlankisBlank:StringUtils.isBlank(null) = trueStringUtils.isBlank("") = trueStringUtils.isBlank(" ") = trueStringUtils.isBlank("bob") = falseStringUtils.isBlank(...

2019-06-27 10:24:42 402

原创 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 1096

原创 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 957

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除