mybatis 详解(十一)------ mybatis和spring整合

目录 1、创建mybatis-spring 工程,并导入相应的 jar 包(详情见上面源码) 2、在 spring 全局配置文件中 applicationContext.xml 中配置 SqlSessionFactory,以及数据源 3、mapper 接口开发配置  4、在 spring全局配置文件applicationContext.xml 中配置 mapper     想要整合mybatis和
相关文章
相关标签/搜索