会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Peter Jones
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
47
48
49
50
51
52
53
54
55
···
91
下一页
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
阅读(3141)
评论(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
阅读(1807)
评论(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)
2020年2月20日
JPA 注解@Column
该文被密码保护。
阅读全文
posted @ 2020-02-20 13:57 Peter.Jones
阅读(0)
评论(0)
推荐(0)
Spring-Data-JPA api文档
摘要: https://docs.oracle.com/javaee/5/api/javax/persistence/Column.html
阅读全文
posted @ 2020-02-20 13:56 Peter.Jones
阅读(507)
评论(0)
推荐(0)
2020年2月18日
spring data jpa 使用原生sql返回查询指定的字段的结果集
该文被密码保护。
阅读全文
posted @ 2020-02-18 15:51 Peter.Jones
阅读(0)
评论(0)
推荐(0)
FetchType.LAZY+@Fetch(FetchMode.JOIN)和fetch = FetchType.EAGER区别
该文被密码保护。
阅读全文
posted @ 2020-02-18 13:22 Peter.Jones
阅读(0)
评论(0)
推荐(0)
@JsonIgnore注解
该文被密码保护。
阅读全文
posted @ 2020-02-18 12:57 Peter.Jones
阅读(0)
评论(0)
推荐(0)
Git记住用户名和密码Https
摘要: https://blog.csdn.net/weixin_42518062/article/details/95939067
阅读全文
posted @ 2020-02-18 11:17 Peter.Jones
阅读(136)
评论(0)
推荐(0)
上一页
1
···
47
48
49
50
51
52
53
54
55
···
91
下一页
公告