![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
980930988
于无声处听惊雷
展开
-
BindingException: Invalid bound statement (not found): cn.edu.aynu.dao.GoodsInfDao.queryById
异常:BindingException: Invalid bound statement (not found): cn.edu.aynu.dao.GoodsInfDao.queryById1.使用框架:SpringMVC问题发生原因:接口与resources下映射文件*.xml命名不一致问题,即dao层下接口命名为GoodsInfDao.xml,而dao层映射文件命名为GoodsInfDaoMapper.xml,命名不一致导致错误。...原创 2021-03-25 08:44:39 · 151 阅读 · 0 评论 -
分页查询数据说明
分页查询sql:<select id="findPageData" resultType="user"> select * from t_user limit #{pageIndexes},#{pageCount}</select>dao:```java List<User> findPageData(Map<String ,Integer> hashMap) ;test:UserDao userDao = sqlSessi.原创 2020-09-24 08:42:03 · 267 阅读 · 0 评论