List of usage examples for java.sql CallableStatement unwrap
<T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException;
From source file:io.lightlink.oracle.OracleStructType.java
@Override public Object readFromCallableStatement(CallableStatement cs, int pos, RunnerContext runnerContext, String colName) throws SQLException, IOException { OracleCallableStatement ocs = cs.unwrap(OracleCallableStatement.class); return getMapFromStruct(unwrap(ocs.getConnection()), ocs.getSTRUCT(pos)); }