摘要: 将 MyBatis与 Spring 进行整合,主要解决的问题就是将 SqlSessionFactory 对象交由 Spring来管理。所以,该整合,只需要将 SqlSessionFactory 的对象生成器 SqlSessionFactoryBean 注册在 Spring 容器中,再将其注入给 Da 阅读全文
posted @ 2020-08-12 22:35 山丘i 阅读(7052) 评论(2) 推荐(6) 编辑