mybatise 报的奇葩错,记录一下而已

错误信息:nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'jdbcType=INTEGER' in 'class java.lang.Integer’java

 

从错误字面意思能够看出来,应该是model类中的某个属性没有写get方法,可是!!属性名字叫‘jdbcType=INTEGER’是什么鬼?因而从新检查映射的xml配置文件,忽然发现了玄机,在写sql

<sql id="Base_Column_List" >
        remark, repurchase_status ,
</sql>
的时候 字段多写了一个空格,好吧,自做孽,本身找bug
相关文章
相关标签/搜索