MyBatis中 @Param注解的使用,加与不加
在使用mybatis时经常碰到这些错误:
org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'code' in 'class java.lang.String'; (应该是多个参数的情况下会出现) nested exception is org.apache.ibatis.binding.BindingException: Parameter 'code' not found. Av
原创
2021-03-07 23:11:11 ·
1756 阅读 ·
1 评论