public java.sql.Clob getClob(int i) throws SQLException { checkResultSet(i); if (wasNullFlag) return null; return new Jdbc4Clob(connection, getLong(i)); }
public java.sql.ResultSetMetaData getMetaData() throws SQLException { checkClosed(); return new Jdbc4ResultSetMetaData(connection, fields); }
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkClosed(); Jdbc4Statement s = new Jdbc4Statement(this, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }
public ResultSet createResultSet (Query originalQuery, Field[] fields, Vector tuples, ResultCursor cursor) throws SQLException { Jdbc4ResultSet newResult = new Jdbc4ResultSet(originalQuery, this, fields, tuples, cursor, getMaxRows(), getMaxFieldSize(), getResultSetType(), getResultSetConcurrency(), getResultSetHoldability()); newResult.setFetchSize(getFetchSize()); newResult.setFetchDirection(getFetchDirection()); return newResult; }
public java.sql.CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkClosed(); Jdbc4CallableStatement s = new Jdbc4CallableStatement(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }
public java.sql.PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { checkClosed(); Jdbc4PreparedStatement s = new Jdbc4PreparedStatement(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability); s.setPrepareThreshold(getPrepareThreshold()); return s; }
public java.sql.Blob getBlob(int i) throws SQLException { checkResultSet(i); if (wasNullFlag) return null; return new Jdbc4Blob(connection, getLong(i)); }
public Array createArray(int i) throws SQLException { checkResultSet(i); int oid = fields[i - 1].getOID(); String value = getFixedString(i); return new Jdbc4Array(connection, oid, value); }
public SQLXML getSQLXML(int columnIndex) throws SQLException { String data = getString(columnIndex); if (data == null) return null; return new Jdbc4SQLXML(connection, data); }
public synchronized void setString(String value) throws SQLException { checkFreed(); initialize(); _data = value; }
Jdbc4CallableStatement(Jdbc4Connection connection, String sql, int rsType, int rsConcurrency, int rsHoldability) throws SQLException { super(connection, sql, true, rsType, rsConcurrency, rsHoldability); if ( !connection.haveMinimumServerVersion("8.1") || connection.getProtocolVersion() == 2) { // if there is no out parameter before the function determined by modifyJdbcCall then do not // set adjustIndex to true adjustIndex = outParmBeforeFunc; } }
public SQLXML getSQLXML(int parameterIndex) throws SQLException { checkClosed(); checkIndex(parameterIndex, Types.SQLXML, "SQLXML"); return (SQLXML)callResult[parameterIndex - 1]; }
public synchronized String getString() throws SQLException { checkFreed(); ensureInitialized(); return _data; }
public void updateNClob(String columnName, Reader reader, long length) throws SQLException { updateNClob(findColumn(columnName), reader, length); }
public void updateCharacterStream(String columnName, Reader reader, long length) throws SQLException { updateCharacterStream(findColumn(columnName), reader, length); }
public java.sql.DatabaseMetaData getMetaData() throws SQLException { checkClosed(); if (metadata == null) metadata = new Jdbc4DatabaseMetaData(this); return metadata; }
public SQLXML createSQLXML() throws SQLException { checkClosed(); return new Jdbc4SQLXML(this); }
public boolean isPoolable() throws SQLException { checkClosed(); return poolable; }
public Properties getClientInfo() throws SQLException { checkClosed(); return _clientInfo; }
public void setPoolable(boolean poolable) throws SQLException { checkClosed(); this.poolable = poolable; }