public void handleResultRows(Query fromQuery, Field[] fields, Vector tuples, ResultCursor cursor) { try { ResultSet rs = AbstractJdbc2Statement.this.createResultSet(fromQuery, fields, tuples, cursor); append(new ResultWrapper(rs)); } catch (SQLException e) { handleError(e); } }
public int getInsertedOID() throws SQLException { checkClosed(); if (result == null) return 0; return (int) result.getInsertOID(); }
public java.sql.ResultSet getResultSet() throws SQLException { checkClosed(); if (result == null) return null; return (ResultSet) result.getResultSet(); }
public int getUpdateCount() throws SQLException { checkClosed(); if (result == null || result.getResultSet() != null) return -1; return result.getUpdateCount(); }
public java.sql.Timestamp getTimestamp(int parameterIndex) throws SQLException { checkClosed(); checkIndex (parameterIndex, Types.TIMESTAMP, "Timestamp"); return (java.sql.Timestamp)callResult[parameterIndex-1]; }
public void handleCommandStatus(String status, int updateCount, long insertOID) { append(new ResultWrapper(updateCount, insertOID)); }
public synchronized void updateBinaryStream( String columnName, java.io.InputStream x, int length) throws SQLException { updateBinaryStream(findColumn(columnName), x, length); }
public int getConcurrency() throws SQLException { checkClosed(); return resultsetconcurrency; }
public synchronized void updateBigDecimal(int columnIndex, java.math.BigDecimal x ) throws SQLException { updateValue(columnIndex, x); }
public void setCursorName(String name) throws SQLException { checkClosed(); // No-op. }
public boolean supportsTransactionIsolationLevel(int level) throws SQLException { if (level == Connection.TRANSACTION_SERIALIZABLE || level == Connection.TRANSACTION_READ_COMMITTED) return true; else if (connection.haveMinimumServerVersion("8.0") && (level == Connection.TRANSACTION_READ_UNCOMMITTED || level == Connection.TRANSACTION_REPEATABLE_READ)) return true; else return false; }
public void setCatalog(String catalog) throws SQLException { checkClosed(); //no-op }
public Object getObject(int parameterIndex) throws SQLException { checkClosed(); checkIndex (parameterIndex); return callResult[parameterIndex-1]; }
public long getLastOID() throws SQLException { checkClosed(); if (result == null) return 0; return result.getInsertOID(); }
public int getFetchDirection() throws SQLException { checkClosed(); return fetchdirection; }
public synchronized void updateTimestamp(int columnIndex, Timestamp x) throws SQLException { updateValue(columnIndex, x); }
public void setEscapeProcessing(boolean enable) throws SQLException { checkClosed(); replaceProcessingEnabled = enable; }
public java.math.BigDecimal getBigDecimal(int parameterIndex) throws SQLException { checkClosed(); checkIndex (parameterIndex, Types.NUMERIC, "BigDecimal"); return ((BigDecimal)callResult[parameterIndex-1]); }
public boolean rowDeleted() throws SQLException { checkClosed(); return false; }
public void clearWarnings() throws SQLException { checkClosed(); warnings = null; }