0 编写pom文件
1 创建连接数据库的工具类MybatisUtils
2 在resource下创建mybatis-config.xml
3 创建User类
4 创建UserDao接口
5 创建UserMapper.xml
6 创建测试类UserDaoTest
0 编写pom文件
1 创建连接数据库的工具类MybatisUtils
2 在resource下创建mybatis-config.xml
3 创建User类
4 创建UserDao接口
5 创建UserMapper.xml
6 创建测试类UserDaoTest