当前使用版本(必填,否则不予处理)

3.4.0

该问题是如何引起的?(确定最新版也有问题再提!!!)

MybatisEnumTypeHandler 类在执行 @Override public E getNullableResult(ResultSet rs, String columnName) throws SQLException { Object value = rs.getObject(columnName, this.propertyType); if (null == value && rs.wasNull()) { return null; } return this.valueOf(value); } 方法时报错

重现步骤(如果有就写完整)

使用枚举,并且使用阿里的druid

报错信息

public T getObject(int columnIndex, Class type) throws SQLException { throw new SQLFeatureNotSupportedException(); }

public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
    throw new SQLFeatureNotSupportedException();
}

其他没问题,这两个方法直接报错,能否改成其他方法 getInteger()??

Comment From: gstsgy

升级druid为最新版本后bug已解决