Caused by: java.lang.IllegalArgumentException: No enum constant org.apache.ibatis.type.JdbcType.int

数据库中一个字段为int类型,实体类中为INTEGER类型,用的mybatis的自动生成工具,

之所以会报这个错是因为生成的实体类中字段属性已经改成INTEGERl了,

但是对应的xml文件中还是int类型,并且JdbcType的值要求大写,

即<result column="is_delete" jdbcType="INTEGER" property="isDelete" />