spring整合MyBatis步骤

思路: SqlsessionFactory -> Sqlsession -> StudentMapper -> CRUD 导入jar 准备测试数据(类-表) 如:Student(stuno, name, age) 创建studentMapper.xml并进行配置 MyBatis的配置文件 编写StudentDaoImpl 创建db.properties配置文件 在spring的配置文件引入db.p
相关文章
相关标签/搜索