Could not set parameters for mapping
mybatis报错Could not set parameters for mapping
nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: Para
一开始以为是sql语句的问题,结果放在数据库中作为sql脚本能够正常查询,但只要通过mapper接口查询就会报错,
然后又想到可能是mapper.xml中映射类型没写对,检查了几遍也还是没问题,上网搜了好几种解决办法
原创
2020-07-13 14:15:29 ·
1229 阅读 ·
0 评论