原文:mybatis foreach报错It was either not specified and/or could not be found for the javaType Type handler

或许是惯性思维,在mybatis使用foreach循环调用的时候,很多时候都是传一个对象,传一个List的情况很少,所以写代码有时候会不注意就用惯性思维方法做了。 今天向sql传参,传了一个List作为参数,然后在xml里再foreach循环调用。然后报错信息如: mybatis foreach报错It was either not specified and or could not be fo ...

2018-12-13 00:24 0 6200 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM