Mybatis源码
文章平均质量分 87
Fernweh..
这个作者很懒,什么都没留下…
展开
-
Mybatis卡顿问题-sqlSession未关闭
最近在工作中遇到一个sqlSession的使用问题。老项目不知道为什么单独搞了一个配置文件使用Mybatis。在测试中发现一个性能问题:执行单独使用Mybatis查询使。每查询一定的次数就会出现卡顿。通过跟踪发现没次卡顿还都是20s左右。但是为什么会这样呢百思不得其姐。最后写了个dome测试也是只使用了Mybatis:贴代码:public class SqlSessionTest { public static void main(String[] args) throws I..原创 2021-10-29 09:17:22 · 1979 阅读 · 0 评论 -
Mybatis源码阅读准备
一、mybatis文档:https://mybatis.org/mybatis-3/zh/index.html二、 ①下载mybatis源码:https://github.com/mybatis/mybatis-3 ②因为mybatis依赖mybatis-parent所以需要下载mybatis:https://github.com/mybatis/parent三、 ①编译mybatis-parent源码:mvn cleaninstall 说明:...原创 2020-05-15 10:37:25 · 126 阅读 · 0 评论