原文:mybatis No enum const class org.apache.ibatis.type.JdbcType.Integer

mybatis报错:没有Integer这个类型的jdbcType值 原因:mybatis配置重的jdbcType类型要是大写的 如图所示: ...

2018-01-23 13:58 0 2939 推荐指数:

查看详情

No enum constant org.apache.ibatis.type.JdbcType.Integer

同事今天在用mybatis查询时候,报了上面这个问题。上网查了下,原来是mybatis封装类型的问题。原因是在resultMap中jdbcType写为了Integer,但是在MyBatis中没有这个数据类型 来查看了原码,发现MyBatisjdbcType是一个枚举类,有以下 ...

Thu Sep 28 21:33:00 CST 2017 0 26813
org.apache.ibatis.type.JdbcType

引用自: http://www.mybatis.org/mybatis-3/apidocs/reference/org/apache/ibatis/type/JdbcType.html JdbcType ARRAY JdbcType BIGINT JdbcType ...

Mon Jul 29 22:40:00 CST 2019 0 827
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM