会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xing柠檬
博客园
首页
新随笔
联系
订阅
管理
随笔 - 113
文章 - 0
评论 - 0
阅读 -
21万
随笔分类 -
mysql
mybatis延迟加载,及其实现原理
摘要:mybatis支持association关联对象和collection关联集合对象的延迟加载,association指的是一对一,collection指的是一对多查询 mybatis中延迟加载(lazyLoadingEnabled=true|false)的原理: 使用CGLIB创建目标对象的代理对象
阅读全文
posted @
2021-08-10 20:26
xing柠檬
阅读(1866)
评论(0)
推荐(0)
编辑
mysql出现锁表 com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Lock wait timeout exceeded; try restarting transaction
摘要:使用SELECT * FROM INFORMATION_SCHEMA.INNODB_TRX;查看锁表的进程 找到状态为RUNNING的记录,查看trx_mysql_thread_id字段中的值,最后使用kill 进程号,杀死该进程
阅读全文
posted @
2021-07-20 16:20
xing柠檬
阅读(861)
评论(0)
推荐(0)
编辑
公告
昵称:
xing柠檬
园龄:
5年3个月
粉丝:
1
关注:
1
+加关注
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔分类
C(2)
C#(2)
docker(1)
git(1)
java(5)
Linux(2)
mysql(2)
oracle(3)
spring(6)
sql(5)
随笔档案
2024年11月(1)
2024年9月(1)
2023年7月(1)
2022年10月(1)
2022年5月(4)
2021年12月(5)
2021年11月(5)
2021年10月(6)
2021年9月(2)
2021年8月(2)
2021年7月(14)
2021年5月(4)
2021年4月(1)
2021年3月(4)
2021年2月(5)
2020年12月(5)
2020年11月(1)
2020年10月(1)
2020年9月(1)
2020年8月(10)
2020年7月(11)
2020年6月(2)
2020年5月(12)
2020年4月(4)
2020年1月(7)
2019年12月(3)
更多
阅读排行榜
1. vue过程中遇到的Uncaught (in promise) TypeError: Cannot read property '$message' of undefined(38853)
2. IDEA警告:SQL dialect is not configured(17500)
3. 解决java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed(9395)
4. Linux破解Navicat15(8501)
5. wget 整站下载 批量下载(递归下载至本地)(7437)
推荐排行榜
1. IDEA警告:SQL dialect is not configured(5)
2. intellij idea修改maven配置 总是恢复默认配置 的解决方法idea版本(2020.2.x)(2)
3. wget 整站下载 批量下载(递归下载至本地)(1)
4. Linux破解Navicat15(1)
5. linux 安装mysql8.0 tar.xz(1)
点击右上角即可分享