会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Peter Jones
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
45
46
47
48
49
50
51
52
53
···
90
下一页
2020年3月3日
JDK8新特性之判空遍历写法
该文被密码保护。
阅读全文
posted @ 2020-03-03 16:01 Peter.Jones
阅读(0)
评论(0)
推荐(0)
2020年2月28日
Springmvc入参和出参时间格式化问题
该文被密码保护。
阅读全文
posted @ 2020-02-28 10:05 Peter.Jones
阅读(0)
评论(0)
推荐(0)
2020年2月26日
jpa复合主键方式二: @IdClass
该文被密码保护。
阅读全文
posted @ 2020-02-26 16:08 Peter.Jones
阅读(0)
评论(0)
推荐(0)
jpa复合主键方式一: @EmbeddedId
该文被密码保护。
阅读全文
posted @ 2020-02-26 15:17 Peter.Jones
阅读(0)
评论(0)
推荐(0)
2020年2月25日
Jdk8新特性 【时间】 api LocalDate,LocalTime,LocalDateTime
摘要: LocalDate,LocalTime,LocalDateTime 接口api: https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html java8时间:LocalDate、LocalTime、LocalDateTime【
阅读全文
posted @ 2020-02-25 15:28 Peter.Jones
阅读(357)
评论(0)
推荐(0)
项目windows运行正常,而Linux上运行报错: class path resource [kwhRules.json] cannot be resolved to absolute file path because it does not reside in the file system
摘要: java.io.FileNotFoundException:class path resource [kwhRules.json] cannot be resolved to absolute file path because it does not reside in the file syst
阅读全文
posted @ 2020-02-25 11:04 Peter.Jones
阅读(3616)
评论(0)
推荐(0)
2020年2月24日
MySQL时间函数 date_sub(), weekday(), curdate()
摘要: date_sub 含义: 从日期减去指定的时间间隔. 语法格式: SELECT DATE_SUB(date,INTERVAL expr unit) 案例: select date_sub(curdate(),INTERVAL WEEKDAY(curdate())-26 DAY) 日期表示: 年-月-
阅读全文
posted @ 2020-02-24 10:37 Peter.Jones
阅读(3124)
评论(0)
推荐(0)
2020年2月22日
JPA报错 javax.persistence.EntityNotFoundException: Unable to find XX类 with id xx问题
摘要: 原因: 无论是@OneToOne 还是@ManyToOne,出现这个原因都是因为子表(被关联表)中没有主表(关联表)中ID所对应的记录。 解决办法: 1. 检查为什么子表中没有主表中ID对应的记录 2. 如果子表中没有主表ID对应的记录也可以正常加载数据,那么需要在主表字段上加一个@NotFound
阅读全文
posted @ 2020-02-22 16:14 Peter.Jones
阅读(1793)
评论(0)
推荐(0)
2020年2月21日
Spring-data-jpa Repository写法
该文被密码保护。
阅读全文
posted @ 2020-02-21 22:44 Peter.Jones
阅读(0)
评论(0)
推荐(0)
JPA出现recursion 死循环导致栈内存溢出问题 Could not write JSON: Infinite recursion (StackOverflowError)
该文被密码保护。
阅读全文
posted @ 2020-02-21 13:50 Peter.Jones
阅读(65)
评论(0)
推荐(0)
上一页
1
···
45
46
47
48
49
50
51
52
53
···
90
下一页
公告