原文:No enum constant org.apache.ibatis.type.JdbcType.Integer

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

2017-09-28 13:33 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