MyBatis:Parameter Maps collection does not contain value for xx.xxx的问题解决
在使用Mybatis写sql语句的过程中,报了MyBatis:Parameter Maps collection does not contain value for xxx.xxx 的错误。解决方式是检测XXMapper.xml文件中的标签中的parameterType是否写成了parameterMap.
查看Mybatis官方资料:
SQL映射的XML文件:parameterMap 已经废弃了...
原创
2018-11-08 11:51:41 ·
1691 阅读 ·
0 评论