/** * Return the wrapped SQLException. */ public SQLException getSQLException() { return (SQLException) getCause(); }
/** * Return the underlying SQLException. */ public SQLException getSQLException() { return (SQLException) getCause(); }
/** * Return the wrapped SQLException. */ public SQLException getSQLException() { return (SQLException) getCause(); }
/** * @see java.sql.ResultSet#getLong(int) */ @Override public long getLong(int columnIndex) throws InvalidResultSetAccessException { try { return this.resultSet.getLong(columnIndex); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
/** * Return the underlying SQLWarning. */ public SQLWarning SQLWarning() { return (SQLWarning) getCause(); }
@Override public boolean wasDataUpdated() { return (getActualRowsAffected() > 0); }
/** * @see java.sql.ResultSet#getShort(int) */ @Override public short getShort(int columnIndex) throws InvalidResultSetAccessException { try { return this.resultSet.getShort(columnIndex); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
/** * @see java.sql.ResultSet#getTimestamp(int, Calendar) */ @Override public Timestamp getTimestamp(int columnIndex, Calendar cal) throws InvalidResultSetAccessException { try { return this.resultSet.getTimestamp(columnIndex, cal); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
/** * @see java.sql.ResultSet#wasNull() */ @Override public boolean wasNull() throws InvalidResultSetAccessException { try { return this.resultSet.wasNull(); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
/** * @see java.sql.ResultSet#getObject(int, Map) */ @Override public Object getObject(int columnIndex, Map<String, Class<?>> map) throws InvalidResultSetAccessException { try { return this.resultSet.getObject(columnIndex, map); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
/** * @see java.sql.ResultSet#getObject(int, Class) */ @Override public <T> T getObject(int columnIndex, Class<T> type) throws InvalidResultSetAccessException { try { return this.resultSet.getObject(columnIndex, type); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
/** * @see java.sql.ResultSet#getTimestamp(int) */ @Override public Timestamp getTimestamp(int columnIndex) throws InvalidResultSetAccessException { try { return this.resultSet.getTimestamp(columnIndex); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
/** * @see java.sql.ResultSet#absolute(int) */ @Override public boolean absolute(int row) throws InvalidResultSetAccessException { try { return this.resultSet.absolute(row); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
@Override public String getCatalogName(int column) throws InvalidResultSetAccessException { try { return this.resultSetMetaData.getCatalogName(column); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
@Override public String getColumnClassName(int column) throws InvalidResultSetAccessException { try { return this.resultSetMetaData.getColumnClassName(column); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
@Override public boolean isCaseSensitive(int column) throws InvalidResultSetAccessException { try { return this.resultSetMetaData.isCaseSensitive(column); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
/** * @see java.sql.ResultSet#isFirst() */ @Override public boolean isFirst() throws InvalidResultSetAccessException { try { return this.resultSet.isFirst(); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
/** * @see java.sql.ResultSet#previous() */ @Override public boolean previous() throws InvalidResultSetAccessException { try { return this.resultSet.previous(); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
/** * @see java.sql.ResultSet#isBeforeFirst() */ @Override public boolean isBeforeFirst() throws InvalidResultSetAccessException { try { return this.resultSet.isBeforeFirst(); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }
/** * @see java.sql.ResultSet#relative(int) */ @Override public boolean relative(int rows) throws InvalidResultSetAccessException { try { return this.resultSet.relative(rows); } catch (SQLException se) { throw new InvalidResultSetAccessException(se); } }