improve getObject support, fixed #3194

This commit is contained in:
高铁
2019-06-17 11:09:22 +08:00
parent 8dc5d2d307
commit 3dda738b59
@@ -1764,10 +1764,10 @@ public final class DruidPooledResultSet extends PoolableWrapper implements Resul
}
public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
throw new SQLFeatureNotSupportedException();
return rs.getObject(columnIndex, type);
}
public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
throw new SQLFeatureNotSupportedException();
return rs.getObject(columnLabel, type);
}
}