- 博客(6)
- 收藏
- 关注
原创 Can not issue data manipulation statements with executeQuery()
java.sql.SQLException: Can not issue data manipulation statements with executeQuery(). Query: update account set name=?, money=? where id =? Parameters: [bbb, 1100.0, 2]修改数据库的语句用了query 所有报错。 类型是不匹配的...
2020-02-06 18:04:30 228
原创 executor.ExecutorException
executor.ExecutorException: Statement returned more than one row, where no more than one was expected.原因:想要的结果是要一个对象,但是查出来的结果是一个List ,那么就超出了 resultType 设置的参数,修改返回值类型即可。...
2020-02-06 18:03:01 147 1
原创 Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for
Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for不能匹配。原因是:配置文件中的id 方法名和dao 接口中的方法名不一致。
2020-02-06 18:01:07 326
原创 Invalid bound statement (not found)
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):提示无效的绑定的方式(映射错误)(没有找到那个findAll 的方法)原因:出在了配置文件上,去配置文件查看。可能是:1.namespace 错误resultMap 错误(type错误、属性错误)...
2020-02-06 17:59:58 145
原创 org.apache.ibatis.binding.BindingException: Type interface org.aptech.hdax.dao.BuoKeDao is not known
这个是dao包路径
2020-02-06 17:57:52 253
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人