Mysql
文章平均质量分 84
阿......嚏
Single hand that wipes tears during failures is much better than countless hands that come together to clap on success。
展开
-
mybatis之结果映射源码分析
PageHelper插件处理分页总数时,需要重新初始化MappedStatement。原创 2022-10-08 13:07:14 · 290 阅读 · 0 评论 -
Mybatis之核心主件分析
ExecutorCacheExecutorMybatisAutoConfigurationDefaultSqlSessionFactory初始化通过工厂类创建DefaultSqlSessionSqlSessionTemplateMapperProxy使用jdk动态代理执行dao层的目标方法。SqlSession & Executor区别原创 2022-06-25 20:24:45 · 345 阅读 · 0 评论 -
Mybatis之4大插件管理
Configuration之4大类插件初始化插件public void addInterceptor(Interceptor interceptor) { interceptorChain.addInterceptor(interceptor);}插件调用ParameterHandler//插件一:public ParameterHandler newParameterHandler(MappedStatement mappedStatement, Object paramete原创 2022-04-10 17:15:05 · 1438 阅读 · 0 评论