摘要: MyBatis + Spring整合开发 a)使用Spring容器用单例模式管理Mybatis的sqlSessionFactory;b)使用Spring管理连接池、数据源等;c)将Dao/Mapper动态代理对象注入到Spring容器中,使用时直接获取; 一、MyBatis整合Spring框架 a) 阅读全文
posted @ 2019-12-05 11:25 Cynical丶Gary 阅读(393) 评论(0) 推荐(0) 编辑