手写mini版mybatis 小灰灰 2022-04-15 01:48 181阅读 0赞 > [源码地址:https://github.com/xulinglin/com-mybatis][https_github.com_xulinglin_com-mybatis] 手写了mini版本的mybatis,欢迎进行改进。Mybatis主要用动态代理来实现。 ![watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3h1bGluZ2xpbjUyMA_size_16_color_FFFFFF_t_70][] ![20181120102949900.png][] SqlSession类 主要用于实现增删查改 Executor 执行器,用来生成sql语句 ParameterHandler 参数转换,将mybatis xml文件中的语句转换为jdbc可执行的语句 ![20181120103145816.png][] [https_github.com_xulinglin_com-mybatis]: https://github.com/xulinglin/com-mybatis [watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3h1bGluZ2xpbjUyMA_size_16_color_FFFFFF_t_70]: /images/20220415/d96242e2e0e244eabf6001591573f1f1.png [20181120102949900.png]: /images/20220415/d7b7348057754b0fb227a35043ea8ffe.png [20181120103145816.png]: /images/20220415/26cfb54a1114461da78877bc806e1e1a.png
还没有评论,来说两句吧...