在使用mybatis的时候,SQL语句执行的时候发现提示下面的异常:
There is no result map named java.lang.Integer in this SqlMap
对照SQL之后发现是返回值的类型定义出错,使用resultClass="java.lang.Integer"即可解决问题。
版权声明:本文著作权归原作者所有,欢迎分享本文,谢谢支持!
转载请注明:Java框架Mybatis中的异常There is no result map named java.lang.Integer in this SqlMap解决方法 | 雨晨博客
转载请注明:Java框架Mybatis中的异常There is no result map named java.lang.Integer in this SqlMap解决方法 | 雨晨博客