support JDBC 4.1

This commit is contained in:
高铁
2019-07-14 13:21:15 +08:00
parent 6368449a1d
commit 39ac64c32e
8 changed files with 151 additions and 19 deletions
@@ -1549,7 +1549,10 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
}
public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
throw new SQLFeatureNotSupportedException();
FilterChainImpl chain = createChain();
Object value = chain.resultSet_getObject(this, columnIndex, type);
recycleFilterChain(chain);
return (T) value;
}
public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {