MyBatis入门学习二:面向接口编程

// 4. 准备基本信息 // 4.1) statement: 用来定位映射文件(PersonMapper.xml)中的语句(通过namespace id + select id) //String statement = "com.xiya.dao.PersonDao.getPersonById"; // 4.2) parameter: 传进去的参数,也就是需要获取students表中主键值为1
相关文章
相关标签/搜索