blob: 95703a2d71080e0f1a9c3332924e608451189c94 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.commons.dbutils;
import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
import java.sql.NClob;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.RowId;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.SQLXML;
import java.sql.Statement;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Map;
/**
* Extensions of this class convert ResultSets into other objects.
* <p>
* According to the <i>DRY</i> principle (Don't Repeat Yourself), repeating {@code resultSet} variable inside the {@link ResultSetHandler#handle(ResultSet)}
* over and over for each iteration can get a little tedious, {@code AbstractResultSetHandler} implicitly gives users access to {@code ResultSet}'s methods.
* </p>
* <p>
* <b>NOTE</b> This class is <i>NOT</i> thread safe!
* </p>
*
* @param <T> the target type the input ResultSet will be converted to.
* @since 1.6
*/
public abstract class BaseResultSetHandler<T> implements ResultSetHandler<T> {
/**
* The adapted ResultSet.
*/
private ResultSet resultSet;
/**
* TODO. A
*/
protected final boolean absolute(final int row) throws SQLException {
return resultSet.absolute(row);
}
/**
* TODO.
*/
protected final void afterLast() throws SQLException {
resultSet.afterLast();
}
/**
* TODO.
*/
protected final void beforeFirst() throws SQLException {
resultSet.beforeFirst();
}
/**
* TODO.
*/
protected final void cancelRowUpdates() throws SQLException {
resultSet.cancelRowUpdates();
}
/**
* TODO.
*/
protected final void clearWarnings() throws SQLException {
resultSet.clearWarnings();
}
/**
* TODO.
*/
protected final void close() throws SQLException {
resultSet.close();
}
/**
* TODO.
*/
protected final void deleteRow() throws SQLException {
resultSet.deleteRow();
}
/**
* TODO.
*/
protected final int findColumn(final String columnLabel) throws SQLException {
return resultSet.findColumn(columnLabel);
}
/**
* TODO.
*/
protected final boolean first() throws SQLException {
return resultSet.first();
}
protected final ResultSet getAdaptedResultSet() {
return resultSet;
}
/**
* TODO.
*/
protected final Array getArray(final int columnIndex) throws SQLException {
return resultSet.getArray(columnIndex);
}
/**
* TODO.
*/
protected final Array getArray(final String columnLabel) throws SQLException {
return resultSet.getArray(columnLabel);
}
/**
* TODO.
*/
protected final InputStream getAsciiStream(final int columnIndex) throws SQLException {
return resultSet.getAsciiStream(columnIndex);
}
/**
* TODO.
*/
protected final InputStream getAsciiStream(final String columnLabel) throws SQLException {
return resultSet.getAsciiStream(columnLabel);
}
/**
* TODO.
*/
protected final BigDecimal getBigDecimal(final int columnIndex) throws SQLException {
return resultSet.getBigDecimal(columnIndex);
}
/**
* TODO.
*/
@Deprecated
protected final BigDecimal getBigDecimal(final int columnIndex, final int scale) throws SQLException {
return resultSet.getBigDecimal(columnIndex, scale);
}
/**
* TODO.
*/
protected final BigDecimal getBigDecimal(final String columnLabel) throws SQLException {
return resultSet.getBigDecimal(columnLabel);
}
/**
* TODO.
*/
@Deprecated
protected final BigDecimal getBigDecimal(final String columnLabel, final int scale) throws SQLException {
return resultSet.getBigDecimal(columnLabel, scale);
}
/**
* TODO.
*/
protected final InputStream getBinaryStream(final int columnIndex) throws SQLException {
return resultSet.getBinaryStream(columnIndex);
}
/**
* TODO.
*/
protected final InputStream getBinaryStream(final String columnLabel) throws SQLException {
return resultSet.getBinaryStream(columnLabel);
}
/**
* TODO.
*/
protected final Blob getBlob(final int columnIndex) throws SQLException {
return resultSet.getBlob(columnIndex);
}
/**
* TODO.
*/
protected final Blob getBlob(final String columnLabel) throws SQLException {
return resultSet.getBlob(columnLabel);
}
/**
* TODO.
*/
protected final boolean getBoolean(final int columnIndex) throws SQLException {
return resultSet.getBoolean(columnIndex);
}
/**
* TODO.
*/
protected final boolean getBoolean(final String columnLabel) throws SQLException {
return resultSet.getBoolean(columnLabel);
}
/**
* TODO.
*/
protected final byte getByte(final int columnIndex) throws SQLException {
return resultSet.getByte(columnIndex);
}
/**
* TODO.
*/
protected final byte getByte(final String columnLabel) throws SQLException {
return resultSet.getByte(columnLabel);
}
/**
* TODO.
*/
protected final byte[] getBytes(final int columnIndex) throws SQLException {
return resultSet.getBytes(columnIndex);
}
/**
* TODO.
*/
protected final byte[] getBytes(final String columnLabel) throws SQLException {
return resultSet.getBytes(columnLabel);
}
/**
* TODO.
*/
protected final Reader getCharacterStream(final int columnIndex) throws SQLException {
return resultSet.getCharacterStream(columnIndex);
}
/**
* TODO.
*/
protected final Reader getCharacterStream(final String columnLabel) throws SQLException {
return resultSet.getCharacterStream(columnLabel);
}
/**
* TODO.
*/
protected final Clob getClob(final int columnIndex) throws SQLException {
return resultSet.getClob(columnIndex);
}
/**
* TODO.
*/
protected final Clob getClob(final String columnLabel) throws SQLException {
return resultSet.getClob(columnLabel);
}
/**
* TODO.
*/
protected final int getConcurrency() throws SQLException {
return resultSet.getConcurrency();
}
/**
* TODO.
*/
protected final String getCursorName() throws SQLException {
return resultSet.getCursorName();
}
/**
* TODO.
*/
protected final Date getDate(final int columnIndex) throws SQLException {
return resultSet.getDate(columnIndex);
}
/**
* TODO.
*/
protected final Date getDate(final int columnIndex, final Calendar cal) throws SQLException {
return resultSet.getDate(columnIndex, cal);
}
/**
* TODO.
*/
protected final Date getDate(final String columnLabel) throws SQLException {
return resultSet.getDate(columnLabel);
}
/**
* TODO.
*/
protected final Date getDate(final String columnLabel, final Calendar cal) throws SQLException {
return resultSet.getDate(columnLabel, cal);
}
/**
* TODO.
*/
protected final double getDouble(final int columnIndex) throws SQLException {
return resultSet.getDouble(columnIndex);
}
/**
* TODO.
*/
protected final double getDouble(final String columnLabel) throws SQLException {
return resultSet.getDouble(columnLabel);
}
/**
* TODO.
*/
protected final int getFetchDirection() throws SQLException {
return resultSet.getFetchDirection();
}
/**
* TODO.
*/
protected final int getFetchSize() throws SQLException {
return resultSet.getFetchSize();
}
/**
* TODO.
*/
protected final float getFloat(final int columnIndex) throws SQLException {
return resultSet.getFloat(columnIndex);
}
/**
* TODO.
*/
protected final float getFloat(final String columnLabel) throws SQLException {
return resultSet.getFloat(columnLabel);
}
/**
* TODO.
*/
protected final int getHoldability() throws SQLException {
return resultSet.getHoldability();
}
/**
* TODO.
*/
protected final int getInt(final int columnIndex) throws SQLException {
return resultSet.getInt(columnIndex);
}
/**
* TODO.
*/
protected final int getInt(final String columnLabel) throws SQLException {
return resultSet.getInt(columnLabel);
}
/**
* TODO.
*/
protected final long getLong(final int columnIndex) throws SQLException {
return resultSet.getLong(columnIndex);
}
/**
* TODO.
*/
protected final long getLong(final String columnLabel) throws SQLException {
return resultSet.getLong(columnLabel);
}
/**
* TODO.
*/
protected final ResultSetMetaData getMetaData() throws SQLException {
return resultSet.getMetaData();
}
/**
* TODO.
*/
protected final Reader getNCharacterStream(final int columnIndex) throws SQLException {
return resultSet.getNCharacterStream(columnIndex);
}
/**
* TODO.
*/
protected final Reader getNCharacterStream(final String columnLabel) throws SQLException {
return resultSet.getNCharacterStream(columnLabel);
}
/**
* TODO.
*/
protected final NClob getNClob(final int columnIndex) throws SQLException {
return resultSet.getNClob(columnIndex);
}
/**
* TODO.
*/
protected final NClob getNClob(final String columnLabel) throws SQLException {
return resultSet.getNClob(columnLabel);
}
/**
* TODO.
*/
protected final String getNString(final int columnIndex) throws SQLException {
return resultSet.getNString(columnIndex);
}
/**
* TODO.
*/
protected final String getNString(final String columnLabel) throws SQLException {
return resultSet.getNString(columnLabel);
}
/**
* TODO.
*/
protected final Object getObject(final int columnIndex) throws SQLException {
return resultSet.getObject(columnIndex);
}
/**
* TODO.
*/
protected final Object getObject(final int columnIndex, final Map<String, Class<?>> map) throws SQLException {
return resultSet.getObject(columnIndex, map);
}
/**
* TODO.
*/
protected final Object getObject(final String columnLabel) throws SQLException {
return resultSet.getObject(columnLabel);
}
/**
* TODO.
*/
protected final Object getObject(final String columnLabel, final Map<String, Class<?>> map) throws SQLException {
return resultSet.getObject(columnLabel, map);
}
/**
* TODO.
*/
protected final Ref getRef(final int columnIndex) throws SQLException {
return resultSet.getRef(columnIndex);
}
/**
* TODO.
*/
protected final Ref getRef(final String columnLabel) throws SQLException {
return resultSet.getRef(columnLabel);
}
/**
* TODO.
*/
protected final int getRow() throws SQLException {
return resultSet.getRow();
}
/**
* TODO.
*/
protected final RowId getRowId(final int columnIndex) throws SQLException {
return resultSet.getRowId(columnIndex);
}
/**
* TODO.
*/
protected final RowId getRowId(final String columnLabel) throws SQLException {
return resultSet.getRowId(columnLabel);
}
/**
* TODO.
*/
protected final short getShort(final int columnIndex) throws SQLException {
return resultSet.getShort(columnIndex);
}
/**
* TODO.
*/
protected final short getShort(final String columnLabel) throws SQLException {
return resultSet.getShort(columnLabel);
}
/**
* TODO.
*/
protected final SQLXML getSQLXML(final int columnIndex) throws SQLException {
return resultSet.getSQLXML(columnIndex);
}
/**
* TODO.
*/
protected final SQLXML getSQLXML(final String columnLabel) throws SQLException {
return resultSet.getSQLXML(columnLabel);
}
/**
* TODO.
*/
protected final Statement getStatement() throws SQLException {
return resultSet.getStatement();
}
/**
* TODO.
*/
protected final String getString(final int columnIndex) throws SQLException {
return resultSet.getString(columnIndex);
}
/**
* TODO.
*/
protected final String getString(final String columnLabel) throws SQLException {
return resultSet.getString(columnLabel);
}
/**
* TODO.
*/
protected final Time getTime(final int columnIndex) throws SQLException {
return resultSet.getTime(columnIndex);
}
/**
* TODO.
*/
protected final Time getTime(final int columnIndex, final Calendar cal) throws SQLException {
return resultSet.getTime(columnIndex, cal);
}
/**
* TODO.
*/
protected final Time getTime(final String columnLabel) throws SQLException {
return resultSet.getTime(columnLabel);
}
/**
* TODO.
*/
protected final Time getTime(final String columnLabel, final Calendar cal) throws SQLException {
return resultSet.getTime(columnLabel, cal);
}
/**
* TODO.
*/
protected final Timestamp getTimestamp(final int columnIndex) throws SQLException {
return resultSet.getTimestamp(columnIndex);
}
/**
* TODO.
*/
protected final Timestamp getTimestamp(final int columnIndex, final Calendar cal) throws SQLException {
return resultSet.getTimestamp(columnIndex, cal);
}
/**
* TODO.
*/
protected final Timestamp getTimestamp(final String columnLabel) throws SQLException {
return resultSet.getTimestamp(columnLabel);
}
/**
* TODO.
*/
protected final Timestamp getTimestamp(final String columnLabel, final Calendar cal) throws SQLException {
return resultSet.getTimestamp(columnLabel, cal);
}
/**
* TODO.
*/
protected final int getType() throws SQLException {
return resultSet.getType();
}
/**
* TODO.
*/
@Deprecated
protected final InputStream getUnicodeStream(final int columnIndex) throws SQLException {
return resultSet.getUnicodeStream(columnIndex);
}
/**
* TODO.
*/
@Deprecated
protected final InputStream getUnicodeStream(final String columnLabel) throws SQLException {
return resultSet.getUnicodeStream(columnLabel);
}
/**
* TODO.
*/
protected final URL getURL(final int columnIndex) throws SQLException {
return resultSet.getURL(columnIndex);
}
/**
* TODO.
*/
protected final URL getURL(final String columnLabel) throws SQLException {
return resultSet.getURL(columnLabel);
}
/**
* TODO.
*/
protected final SQLWarning getWarnings() throws SQLException {
return resultSet.getWarnings();
}
/**
* Turn the {@code ResultSet} into an Object.
*
* @return An Object initialized with {@code ResultSet} data
* @throws SQLException if a database access error occurs
* @see ResultSetHandler#handle(ResultSet)
*/
protected abstract T handle() throws SQLException;
/**
* TODO.
*/
@Override
public final T handle(final ResultSet rs) throws SQLException {
if (this.resultSet != null) {
throw new IllegalStateException("Re-entry not allowed!");
}
this.resultSet = rs;
try {
return handle();
} finally {
this.resultSet = null;
}
}
/**
* TODO.
*/
protected final void insertRow() throws SQLException {
resultSet.insertRow();
}
/**
* TODO.
*/
protected final boolean isAfterLast() throws SQLException {
return resultSet.isAfterLast();
}
/**
* TODO.
*/
protected final boolean isBeforeFirst() throws SQLException {
return resultSet.isBeforeFirst();
}
/**
* TODO.
*/
protected final boolean isClosed() throws SQLException {
return resultSet.isClosed();
}
/**
* TODO.
*/
protected final boolean isFirst() throws SQLException {
return resultSet.isFirst();
}
/**
* TODO.
*/
protected final boolean isLast() throws SQLException {
return resultSet.isLast();
}
/**
* TODO.
*/
protected final boolean isWrapperFor(final Class<?> iface) throws SQLException {
return resultSet.isWrapperFor(iface);
}
/**
* TODO.
*/
protected final boolean last() throws SQLException {
return resultSet.last();
}
/**
* TODO.
*/
protected final void moveToCurrentRow() throws SQLException {
resultSet.moveToCurrentRow();
}
/**
* TODO.
*/
protected final void moveToInsertRow() throws SQLException {
resultSet.moveToInsertRow();
}
/**
* TODO.
*/
protected final boolean next() throws SQLException {
return resultSet.next();
}
/**
* TODO.
*/
protected final boolean previous() throws SQLException {
return resultSet.previous();
}
/**
* TODO.
*/
protected final void refreshRow() throws SQLException {
resultSet.refreshRow();
}
/**
* TODO.
*/
protected final boolean relative(final int rows) throws SQLException {
return resultSet.relative(rows);
}
/**
* TODO.
*/
protected final boolean rowDeleted() throws SQLException {
return resultSet.rowDeleted();
}
/**
* TODO.
*/
protected final boolean rowInserted() throws SQLException {
return resultSet.rowInserted();
}
/**
* TODO.
*/
protected final boolean rowUpdated() throws SQLException {
return resultSet.rowUpdated();
}
/**
* TODO.
*/
protected final void setFetchDirection(final int direction) throws SQLException {
resultSet.setFetchDirection(direction);
}
/**
* TODO.
*/
protected final void setFetchSize(final int rows) throws SQLException {
resultSet.setFetchSize(rows);
}
/**
* TODO.
*/
protected final <E> E unwrap(final Class<E> iface) throws SQLException {
return resultSet.unwrap(iface);
}
/**
* TODO.
*/
protected final void updateArray(final int columnIndex, final Array x) throws SQLException {
resultSet.updateArray(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateArray(final String columnLabel, final Array x) throws SQLException {
resultSet.updateArray(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateAsciiStream(final int columnIndex, final InputStream x) throws SQLException {
resultSet.updateAsciiStream(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateAsciiStream(final int columnIndex, final InputStream x, final int length) throws SQLException {
resultSet.updateAsciiStream(columnIndex, x, length);
}
/**
* TODO.
*/
protected final void updateAsciiStream(final int columnIndex, final InputStream x, final long length) throws SQLException {
resultSet.updateAsciiStream(columnIndex, x, length);
}
/**
* TODO.
*/
protected final void updateAsciiStream(final String columnLabel, final InputStream x) throws SQLException {
resultSet.updateAsciiStream(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateAsciiStream(final String columnLabel, final InputStream x, final int length) throws SQLException {
resultSet.updateAsciiStream(columnLabel, x, length);
}
/**
* TODO.
*/
protected final void updateAsciiStream(final String columnLabel, final InputStream x, final long length) throws SQLException {
resultSet.updateAsciiStream(columnLabel, x, length);
}
/**
* TODO.
*/
protected final void updateBigDecimal(final int columnIndex, final BigDecimal x) throws SQLException {
resultSet.updateBigDecimal(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateBigDecimal(final String columnLabel, final BigDecimal x) throws SQLException {
resultSet.updateBigDecimal(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateBinaryStream(final int columnIndex, final InputStream x) throws SQLException {
resultSet.updateBinaryStream(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateBinaryStream(final int columnIndex, final InputStream x, final int length) throws SQLException {
resultSet.updateBinaryStream(columnIndex, x, length);
}
/**
* TODO.
*/
protected final void updateBinaryStream(final int columnIndex, final InputStream x, final long length) throws SQLException {
resultSet.updateBinaryStream(columnIndex, x, length);
}
/**
* TODO.
*/
protected final void updateBinaryStream(final String columnLabel, final InputStream x) throws SQLException {
resultSet.updateBinaryStream(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateBinaryStream(final String columnLabel, final InputStream x, final int length) throws SQLException {
resultSet.updateBinaryStream(columnLabel, x, length);
}
/**
* TODO.
*/
protected final void updateBinaryStream(final String columnLabel, final InputStream x, final long length) throws SQLException {
resultSet.updateBinaryStream(columnLabel, x, length);
}
/**
* TODO.
*/
protected final void updateBlob(final int columnIndex, final Blob x) throws SQLException {
resultSet.updateBlob(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateBlob(final int columnIndex, final InputStream inputStream) throws SQLException {
resultSet.updateBlob(columnIndex, inputStream);
}
/**
* TODO.
*/
protected final void updateBlob(final int columnIndex, final InputStream inputStream, final long length) throws SQLException {
resultSet.updateBlob(columnIndex, inputStream, length);
}
/**
* TODO.
*/
protected final void updateBlob(final String columnLabel, final Blob x) throws SQLException {
resultSet.updateBlob(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateBlob(final String columnLabel, final InputStream inputStream) throws SQLException {
resultSet.updateBlob(columnLabel, inputStream);
}
/**
* TODO.
*/
protected final void updateBlob(final String columnLabel, final InputStream inputStream, final long length) throws SQLException {
resultSet.updateBlob(columnLabel, inputStream, length);
}
/**
* TODO.
*/
protected final void updateBoolean(final int columnIndex, final boolean x) throws SQLException {
resultSet.updateBoolean(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateBoolean(final String columnLabel, final boolean x) throws SQLException {
resultSet.updateBoolean(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateByte(final int columnIndex, final byte x) throws SQLException {
resultSet.updateByte(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateByte(final String columnLabel, final byte x) throws SQLException {
resultSet.updateByte(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateBytes(final int columnIndex, final byte[] x) throws SQLException {
resultSet.updateBytes(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateBytes(final String columnLabel, final byte[] x) throws SQLException {
resultSet.updateBytes(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateCharacterStream(final int columnIndex, final Reader x) throws SQLException {
resultSet.updateCharacterStream(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateCharacterStream(final int columnIndex, final Reader x, final int length) throws SQLException {
resultSet.updateCharacterStream(columnIndex, x, length);
}
/**
* TODO.
*/
protected final void updateCharacterStream(final int columnIndex, final Reader x, final long length) throws SQLException {
resultSet.updateCharacterStream(columnIndex, x, length);
}
/**
* TODO.
*/
protected final void updateCharacterStream(final String columnLabel, final Reader reader) throws SQLException {
resultSet.updateCharacterStream(columnLabel, reader);
}
/**
* TODO.
*/
protected final void updateCharacterStream(final String columnLabel, final Reader reader, final int length) throws SQLException {
resultSet.updateCharacterStream(columnLabel, reader, length);
}
/**
* TODO.
*/
protected final void updateCharacterStream(final String columnLabel, final Reader reader, final long length) throws SQLException {
resultSet.updateCharacterStream(columnLabel, reader, length);
}
/**
* TODO.
*/
protected final void updateClob(final int columnIndex, final Clob x) throws SQLException {
resultSet.updateClob(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateClob(final int columnIndex, final Reader reader) throws SQLException {
resultSet.updateClob(columnIndex, reader);
}
/**
* TODO.
*/
protected final void updateClob(final int columnIndex, final Reader reader, final long length) throws SQLException {
resultSet.updateClob(columnIndex, reader, length);
}
/**
* TODO.
*/
protected final void updateClob(final String columnLabel, final Clob x) throws SQLException {
resultSet.updateClob(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateClob(final String columnLabel, final Reader reader) throws SQLException {
resultSet.updateClob(columnLabel, reader);
}
/**
* TODO.
*/
protected final void updateClob(final String columnLabel, final Reader reader, final long length) throws SQLException {
resultSet.updateClob(columnLabel, reader, length);
}
/**
* TODO.
*/
protected final void updateDate(final int columnIndex, final Date x) throws SQLException {
resultSet.updateDate(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateDate(final String columnLabel, final Date x) throws SQLException {
resultSet.updateDate(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateDouble(final int columnIndex, final double x) throws SQLException {
resultSet.updateDouble(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateDouble(final String columnLabel, final double x) throws SQLException {
resultSet.updateDouble(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateFloat(final int columnIndex, final float x) throws SQLException {
resultSet.updateFloat(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateFloat(final String columnLabel, final float x) throws SQLException {
resultSet.updateFloat(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateInt(final int columnIndex, final int x) throws SQLException {
resultSet.updateInt(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateInt(final String columnLabel, final int x) throws SQLException {
resultSet.updateInt(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateLong(final int columnIndex, final long x) throws SQLException {
resultSet.updateLong(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateLong(final String columnLabel, final long x) throws SQLException {
resultSet.updateLong(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateNCharacterStream(final int columnIndex, final Reader x) throws SQLException {
resultSet.updateNCharacterStream(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateNCharacterStream(final int columnIndex, final Reader x, final long length) throws SQLException {
resultSet.updateNCharacterStream(columnIndex, x, length);
}
/**
* TODO.
*/
protected final void updateNCharacterStream(final String columnLabel, final Reader reader) throws SQLException {
resultSet.updateNCharacterStream(columnLabel, reader);
}
/**
* TODO.
*/
protected final void updateNCharacterStream(final String columnLabel, final Reader reader, final long length) throws SQLException {
resultSet.updateNCharacterStream(columnLabel, reader, length);
}
/**
* TODO.
*/
protected final void updateNClob(final int columnIndex, final NClob nClob) throws SQLException {
resultSet.updateNClob(columnIndex, nClob);
}
/**
* TODO.
*/
protected final void updateNClob(final int columnIndex, final Reader reader) throws SQLException {
resultSet.updateNClob(columnIndex, reader);
}
/**
* TODO.
*/
protected final void updateNClob(final int columnIndex, final Reader reader, final long length) throws SQLException {
resultSet.updateNClob(columnIndex, reader, length);
}
/**
* TODO.
*/
protected final void updateNClob(final String columnLabel, final NClob nClob) throws SQLException {
resultSet.updateNClob(columnLabel, nClob);
}
/**
* TODO.
*/
protected final void updateNClob(final String columnLabel, final Reader reader) throws SQLException {
resultSet.updateNClob(columnLabel, reader);
}
/**
* TODO.
*/
protected final void updateNClob(final String columnLabel, final Reader reader, final long length) throws SQLException {
resultSet.updateNClob(columnLabel, reader, length);
}
/**
* TODO.
*/
protected final void updateNString(final int columnIndex, final String nString) throws SQLException {
resultSet.updateNString(columnIndex, nString);
}
/**
* TODO.
*/
protected final void updateNString(final String columnLabel, final String nString) throws SQLException {
resultSet.updateNString(columnLabel, nString);
}
/**
* TODO.
*/
protected final void updateNull(final int columnIndex) throws SQLException {
resultSet.updateNull(columnIndex);
}
/**
* TODO.
*/
protected final void updateNull(final String columnLabel) throws SQLException {
resultSet.updateNull(columnLabel);
}
/**
* TODO.
*/
protected final void updateObject(final int columnIndex, final Object x) throws SQLException {
resultSet.updateObject(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateObject(final int columnIndex, final Object x, final int scaleOrLength) throws SQLException {
resultSet.updateObject(columnIndex, x, scaleOrLength);
}
/**
* TODO.
*/
protected final void updateObject(final String columnLabel, final Object x) throws SQLException {
resultSet.updateObject(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateObject(final String columnLabel, final Object x, final int scaleOrLength) throws SQLException {
resultSet.updateObject(columnLabel, x, scaleOrLength);
}
/**
* TODO.
*/
protected final void updateRef(final int columnIndex, final Ref x) throws SQLException {
resultSet.updateRef(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateRef(final String columnLabel, final Ref x) throws SQLException {
resultSet.updateRef(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateRow() throws SQLException {
resultSet.updateRow();
}
/**
* TODO.
*/
protected final void updateRowId(final int columnIndex, final RowId x) throws SQLException {
resultSet.updateRowId(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateRowId(final String columnLabel, final RowId x) throws SQLException {
resultSet.updateRowId(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateShort(final int columnIndex, final short x) throws SQLException {
resultSet.updateShort(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateShort(final String columnLabel, final short x) throws SQLException {
resultSet.updateShort(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateSQLXML(final int columnIndex, final SQLXML xmlObject) throws SQLException {
resultSet.updateSQLXML(columnIndex, xmlObject);
}
/**
* TODO.
*/
protected final void updateSQLXML(final String columnLabel, final SQLXML xmlObject) throws SQLException {
resultSet.updateSQLXML(columnLabel, xmlObject);
}
/**
* TODO.
*/
protected final void updateString(final int columnIndex, final String x) throws SQLException {
resultSet.updateString(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateString(final String columnLabel, final String x) throws SQLException {
resultSet.updateString(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateTime(final int columnIndex, final Time x) throws SQLException {
resultSet.updateTime(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateTime(final String columnLabel, final Time x) throws SQLException {
resultSet.updateTime(columnLabel, x);
}
/**
* TODO.
*/
protected final void updateTimestamp(final int columnIndex, final Timestamp x) throws SQLException {
resultSet.updateTimestamp(columnIndex, x);
}
/**
* TODO.
*/
protected final void updateTimestamp(final String columnLabel, final Timestamp x) throws SQLException {
resultSet.updateTimestamp(columnLabel, x);
}
/**
* TODO.
*/
protected final boolean wasNull() throws SQLException {
return resultSet.wasNull();
}
}