一.原始整合
1.建表
2.创建maven工程
3.导入maven坐标
4.编写表对应实体类
5.编写mapper接口
6.编写service接口
7.编写Controller
8.编写页面
9.编写相应配置文件
1.spring配置文件:applicationContext.xml
2.SpringMVC配置文件:spring-mvc.xml
3.MyBatis映射文件:AccountMapper.xml
4.MyBatis核心文件:sqlMapConfig.xml
5.数据库连接信息文件:jdbc.properties
6.Web.xml文件
7.日志文件
10.测试
二.mybatis整合spring
1.整合思路
2.
事务控制