@Override public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException { rs.updateObject(columnIndex, x, scaleOrLength); }
@Override public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException { rs.updateObject(columnLabel, x, scaleOrLength); }
@Override public void updateObject(int columnIndex, Object x) throws SQLException { rs.updateObject(columnIndex, x); }
@Override public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException { delegate.updateObject(columnIndex, x, scaleOrLength); }
@Override public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException { delegate.updateObject(columnLabel, x, scaleOrLength); }
@Override public void updateObject(String columnLabel, Object x) throws SQLException { rs.updateObject(columnLabel, x); }
@Override public void updateObject(String columnLabel, Object x) throws SQLException { delegate.updateObject(columnLabel, x); }
@Override public void updateObject(int columnIndex, Object x) throws SQLException { try { rs.updateObject(columnIndex, x); } catch (Throwable t) { throw checkException(t); } }
@Override public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException { try { rs.updateObject(columnIndex, x, scaleOrLength); } catch (Throwable t) { throw checkException(t); } }
@Override public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException { try { rs.updateObject(columnLabel, x, scaleOrLength); } catch (Throwable t) { throw checkException(t); } }
@Override public void updateObject(String columnLabel, Object x) throws SQLException { try { rs.updateObject(columnLabel, x); } catch (Throwable t) { throw checkException(t); } }
@Override public void run() throws Exception { rs.updateObject("id", null, 0); } });
@Override public void run() throws Exception { rs.updateObject(1, null, 0); } });
@Override public void run() throws Exception { rs.updateObject("id", null); } });
@Override public void run() throws Exception { rs.updateObject(1, null); } });
@Override public void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateObject(this, resultSet, columnIndex, x); return; } resultSet.getResultSetRaw().updateObject(columnIndex, x); }
@Override public void resultSet_updateObject(ResultSetProxy resultSet, int columnIndex, Object x, int scaleOrLength) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateObject(this, resultSet, columnIndex, x, scaleOrLength); return; } resultSet.getResultSetRaw().updateObject(columnIndex, x, scaleOrLength); }
@Override public void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateObject(this, resultSet, columnLabel, x); return; } resultSet.getResultSetRaw().updateObject(columnLabel, x); }
@Override public void resultSet_updateObject(ResultSetProxy resultSet, String columnLabel, Object x, int scaleOrLength) throws SQLException { if (this.pos < filterSize) { nextFilter().resultSet_updateObject(this, resultSet, columnLabel, x, scaleOrLength); return; } resultSet.getResultSetRaw().updateObject(columnLabel, x, scaleOrLength); }
/** * Supports integer based subscript operators for updating the values of numbered columns * starting at zero. Negative indices are supported, they will count from the last column backwards. * * @param index is the number of the column to look at starting at 1 * @param newValue the updated value * @throws java.sql.SQLException if something goes wrong * @see ResultSet#updateObject(java.lang.String, java.lang.Object) */ public void putAt(int index, Object newValue) throws SQLException { index = normalizeIndex(index); getResultSet().updateObject(index, newValue); }