mybatis的xml中传递参数为基础类型的解决方案
org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'shopcode' in 'class java.lang.String'
使用mybatis拼接动态sql语句的时候产生的异常,异常原因是接口中提供的方法,参数不是封装的对象,而是基础类型,比如String ,...
原创
2014-10-22 09:57:17 ·
298 阅读 ·
0 评论