
Mybatis学习日记
文盲青年
好友推荐博客:https://www.cnblogs.com/johnnyzen(千千寰宇)
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
springboot适配mybatis+guassdb与Mysql兼容性问题处理
注解插件拦截,处理与mysql的兼容性问题。针对有语法差异的,利用mybatis的。原创 2025-01-06 16:07:51 · 532 阅读 · 0 评论 -
MyBatis 插件之拦截器(Interceptor)
https://blog.csdn.net/weixin_39494923/article/details/91534658转载 2021-10-15 18:18:20 · 286 阅读 · 0 评论 -
优雅高效的MyBatis-Plus工具快速入门使用
https://www.cnblogs.com/fingerboy/p/6657118.html转载 2021-04-08 09:47:36 · 164 阅读 · 0 评论 -
Mybatis工作原理
https://blog.csdn.net/u014745069/article/details/80788127转载 2020-01-19 17:06:27 · 129 阅读 · 0 评论 -
mybatis整合spring后一级缓存真的会失效吗?
一级缓存概念当我们使用Mybatis进行数据库的操作时候,会创建一个SqlSession来进行一次数据库的会话,会话结束则关闭SqlSession对象。那么一个SqlSession的生命周期即对应于Mybatis的一次会话。在Mybatis的一次会话中,我们很有可能多次查询完全相同的sql语句,如果不采取措施的话,每一次查询都查询一次数据库。而一次会话时间一般都是极短的,相同Sql的查询结果极有可能完全相同。由于查询数据库代价是比较大的,这会导致系统的资源浪费。为了解决这个问题,Mybatis对每一次会转载 2020-01-14 21:06:05 · 488 阅读 · 0 评论 -
Mybatis引用静态常量或者枚举类型
https://blog.csdn.net/u010714901/article/details/79541861转载 2019-12-30 11:26:25 · 398 阅读 · 0 评论 -
maven与gradle使用mybatis逆向工程插件
https://blog.csdn.net/zhaoxichen_10/article/details/86525762转载 2019-12-04 10:59:07 · 417 阅读 · 0 评论 -
Mybatis一级缓存与二级缓存
https://tech.meituan.com/2018/01/19/mybatis-cache.html转载 2019-09-04 16:17:25 · 133 阅读 · 0 评论 -
一次mybatis事物控制问题
项目刚启动,第一次sql语句异常、之前执行的sql没有回滚。第二次运行相同的代码,sql异常、所有已执行sql正常回滚有大佬可以解释吗原创 2019-08-14 16:21:46 · 154 阅读 · 0 评论 -
mybatis.mapper-locations 配置多个mapper路径
https://blog.csdn.net/zxl646801924/article/details/88669809转载 2019-08-05 10:54:29 · 4176 阅读 · 0 评论 -
mybatis报错 nested exception is org.apache.ibatis.binding.BindingException
在一次spring boot 整合mybatis开发时,mybatis报了个错:nested exception is org.apache.ibatis.binding.BindingException: Parameter 'distributorId' not found. Available parameters are [arg1, arg0, param1, param2]找...原创 2019-07-11 14:08:58 · 1673 阅读 · 0 评论 -
Intellji IDEA去掉mybatis中mapper.xml对sql语句的警告
https://blog.csdn.net/VictorStephen/article/details/80280270转载 2018-07-30 14:36:15 · 3477 阅读 · 0 评论 -
Mybatis update操作的返回结果
https://www.jianshu.com/p/daccc3ad6867转载 2018-08-24 09:43:34 · 13226 阅读 · 0 评论 -
Mybatis获取自增主键的两种方法
http://www.tianshouzhi.com/api/tutorials/mybatis/378转载 2018-09-06 17:51:34 · 822 阅读 · 0 评论 -
Mybatis是否需要些jdbcType
https://www.cnblogs.com/expiator/p/7778182.html转载 2018-09-13 11:24:10 · 1535 阅读 · 0 评论 -
SSM整合时为什么dao层不用写注解
https://blog.csdn.net/java280580332/article/details/72123890转载 2018-09-14 09:44:18 · 8803 阅读 · 0 评论 -
Mybatis注解文件小于等于符号报错
由于mybatis的xml中写<= 是会报错的,参考一下解决:https://blog.csdn.net/qq_32662595/article/details/78560310转载 2018-09-14 10:37:28 · 1514 阅读 · 0 评论 -
mybatis批量删除
https://blog.csdn.net/benxiaohai888/article/details/78564751转载 2018-09-28 12:43:39 · 589 阅读 · 0 评论 -
Mybatis配置文件特殊符号报错解决方法
https://blog.csdn.net/yangxiao_hui/article/details/78879997转载 2018-12-05 15:39:44 · 1013 阅读 · 0 评论 -
使用MyBatis进行模糊查询时%到底写哪儿的解决办法
https://blog.csdn.net/Marvel__Dead/article/details/70176313转载 2018-07-04 09:59:40 · 287 阅读 · 0 评论