Package org.apache.commons.dbutils
Class BaseResultSetHandler<T>
- java.lang.Object
-
- org.apache.commons.dbutils.BaseResultSetHandler<T>
-
- Type Parameters:
T- the target type the input ResultSet will be converted to.
- All Implemented Interfaces:
ResultSetHandler<T>
public abstract class BaseResultSetHandler<T> extends Object implements ResultSetHandler<T>
Extensions of this class convert ResultSets into other objects. According to the DRY principle (Don't Repeat Yourself), repeatingresultSetvariable inside theResultSetHandler.handle(ResultSet)over and over for each iteration can get a little tedious,AbstractResultSetHandlerimplicitly gives users access toResultSet's methods. NOTE This class is NOT thread safe!- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor Description BaseResultSetHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleanabsolute(int row)protected voidafterLast()protected voidbeforeFirst()protected voidcancelRowUpdates()protected voidclearWarnings()protected voidclose()protected voiddeleteRow()protected intfindColumn(String columnLabel)protected booleanfirst()protected ResultSetgetAdaptedResultSet()protected ArraygetArray(int columnIndex)protected ArraygetArray(String columnLabel)protected InputStreamgetAsciiStream(int columnIndex)protected InputStreamgetAsciiStream(String columnLabel)protected BigDecimalgetBigDecimal(int columnIndex)protected BigDecimalgetBigDecimal(int columnIndex, int scale)Deprecated.protected BigDecimalgetBigDecimal(String columnLabel)protected BigDecimalgetBigDecimal(String columnLabel, int scale)Deprecated.protected InputStreamgetBinaryStream(int columnIndex)protected InputStreamgetBinaryStream(String columnLabel)protected BlobgetBlob(int columnIndex)protected BlobgetBlob(String columnLabel)protected booleangetBoolean(int columnIndex)protected booleangetBoolean(String columnLabel)protected bytegetByte(int columnIndex)protected bytegetByte(String columnLabel)protected byte[]getBytes(int columnIndex)protected byte[]getBytes(String columnLabel)protected ReadergetCharacterStream(int columnIndex)protected ReadergetCharacterStream(String columnLabel)protected ClobgetClob(int columnIndex)protected ClobgetClob(String columnLabel)protected intgetConcurrency()protected StringgetCursorName()protected DategetDate(int columnIndex)protected DategetDate(int columnIndex, Calendar cal)protected DategetDate(String columnLabel)protected DategetDate(String columnLabel, Calendar cal)protected doublegetDouble(int columnIndex)protected doublegetDouble(String columnLabel)protected intgetFetchDirection()protected intgetFetchSize()protected floatgetFloat(int columnIndex)protected floatgetFloat(String columnLabel)protected intgetHoldability()protected intgetInt(int columnIndex)protected intgetInt(String columnLabel)protected longgetLong(int columnIndex)protected longgetLong(String columnLabel)protected ResultSetMetaDatagetMetaData()protected ReadergetNCharacterStream(int columnIndex)protected ReadergetNCharacterStream(String columnLabel)protected NClobgetNClob(int columnIndex)protected NClobgetNClob(String columnLabel)protected StringgetNString(int columnIndex)protected StringgetNString(String columnLabel)protected ObjectgetObject(int columnIndex)protected ObjectgetObject(int columnIndex, Map<String,Class<?>> map)protected ObjectgetObject(String columnLabel)protected ObjectgetObject(String columnLabel, Map<String,Class<?>> map)protected RefgetRef(int columnIndex)protected RefgetRef(String columnLabel)protected intgetRow()protected RowIdgetRowId(int columnIndex)protected RowIdgetRowId(String columnLabel)protected shortgetShort(int columnIndex)protected shortgetShort(String columnLabel)protected SQLXMLgetSQLXML(int columnIndex)protected SQLXMLgetSQLXML(String columnLabel)protected StatementgetStatement()protected StringgetString(int columnIndex)protected StringgetString(String columnLabel)protected TimegetTime(int columnIndex)protected TimegetTime(int columnIndex, Calendar cal)protected TimegetTime(String columnLabel)protected TimegetTime(String columnLabel, Calendar cal)protected TimestampgetTimestamp(int columnIndex)protected TimestampgetTimestamp(int columnIndex, Calendar cal)protected TimestampgetTimestamp(String columnLabel)protected TimestampgetTimestamp(String columnLabel, Calendar cal)protected intgetType()protected InputStreamgetUnicodeStream(int columnIndex)Deprecated.protected InputStreamgetUnicodeStream(String columnLabel)Deprecated.protected URLgetURL(int columnIndex)protected URLgetURL(String columnLabel)protected SQLWarninggetWarnings()protected abstract Thandle()Turn theResultSetinto an Object.Thandle(ResultSet rs)Turn theResultSetinto an Object.protected voidinsertRow()protected booleanisAfterLast()protected booleanisBeforeFirst()protected booleanisClosed()protected booleanisFirst()protected booleanisLast()protected booleanisWrapperFor(Class<?> iface)protected booleanlast()protected voidmoveToCurrentRow()protected voidmoveToInsertRow()protected booleannext()protected booleanprevious()protected voidrefreshRow()protected booleanrelative(int rows)protected booleanrowDeleted()protected booleanrowInserted()protected booleanrowUpdated()protected voidsetFetchDirection(int direction)protected voidsetFetchSize(int rows)protected <E> Eunwrap(Class<E> iface)protected voidupdateArray(int columnIndex, Array x)protected voidupdateArray(String columnLabel, Array x)protected voidupdateAsciiStream(int columnIndex, InputStream x)protected voidupdateAsciiStream(int columnIndex, InputStream x, int length)protected voidupdateAsciiStream(int columnIndex, InputStream x, long length)protected voidupdateAsciiStream(String columnLabel, InputStream x)protected voidupdateAsciiStream(String columnLabel, InputStream x, int length)protected voidupdateAsciiStream(String columnLabel, InputStream x, long length)protected voidupdateBigDecimal(int columnIndex, BigDecimal x)protected voidupdateBigDecimal(String columnLabel, BigDecimal x)protected voidupdateBinaryStream(int columnIndex, InputStream x)protected voidupdateBinaryStream(int columnIndex, InputStream x, int length)protected voidupdateBinaryStream(int columnIndex, InputStream x, long length)protected voidupdateBinaryStream(String columnLabel, InputStream x)protected voidupdateBinaryStream(String columnLabel, InputStream x, int length)protected voidupdateBinaryStream(String columnLabel, InputStream x, long length)protected voidupdateBlob(int columnIndex, InputStream inputStream)protected voidupdateBlob(int columnIndex, InputStream inputStream, long length)protected voidupdateBlob(int columnIndex, Blob x)protected voidupdateBlob(String columnLabel, InputStream inputStream)protected voidupdateBlob(String columnLabel, InputStream inputStream, long length)protected voidupdateBlob(String columnLabel, Blob x)protected voidupdateBoolean(int columnIndex, boolean x)protected voidupdateBoolean(String columnLabel, boolean x)protected voidupdateByte(int columnIndex, byte x)protected voidupdateByte(String columnLabel, byte x)protected voidupdateBytes(int columnIndex, byte[] x)protected voidupdateBytes(String columnLabel, byte[] x)protected voidupdateCharacterStream(int columnIndex, Reader x)protected voidupdateCharacterStream(int columnIndex, Reader x, int length)protected voidupdateCharacterStream(int columnIndex, Reader x, long length)protected voidupdateCharacterStream(String columnLabel, Reader reader)protected voidupdateCharacterStream(String columnLabel, Reader reader, int length)protected voidupdateCharacterStream(String columnLabel, Reader reader, long length)protected voidupdateClob(int columnIndex, Reader reader)protected voidupdateClob(int columnIndex, Reader reader, long length)protected voidupdateClob(int columnIndex, Clob x)protected voidupdateClob(String columnLabel, Reader reader)protected voidupdateClob(String columnLabel, Reader reader, long length)protected voidupdateClob(String columnLabel, Clob x)protected voidupdateDate(int columnIndex, Date x)protected voidupdateDate(String columnLabel, Date x)protected voidupdateDouble(int columnIndex, double x)protected voidupdateDouble(String columnLabel, double x)protected voidupdateFloat(int columnIndex, float x)protected voidupdateFloat(String columnLabel, float x)protected voidupdateInt(int columnIndex, int x)protected voidupdateInt(String columnLabel, int x)protected voidupdateLong(int columnIndex, long x)protected voidupdateLong(String columnLabel, long x)protected voidupdateNCharacterStream(int columnIndex, Reader x)protected voidupdateNCharacterStream(int columnIndex, Reader x, long length)protected voidupdateNCharacterStream(String columnLabel, Reader reader)protected voidupdateNCharacterStream(String columnLabel, Reader reader, long length)protected voidupdateNClob(int columnIndex, Reader reader)protected voidupdateNClob(int columnIndex, Reader reader, long length)protected voidupdateNClob(int columnIndex, NClob nClob)protected voidupdateNClob(String columnLabel, Reader reader)protected voidupdateNClob(String columnLabel, Reader reader, long length)protected voidupdateNClob(String columnLabel, NClob nClob)protected voidupdateNString(int columnIndex, String nString)protected voidupdateNString(String columnLabel, String nString)protected voidupdateNull(int columnIndex)protected voidupdateNull(String columnLabel)protected voidupdateObject(int columnIndex, Object x)protected voidupdateObject(int columnIndex, Object x, int scaleOrLength)protected voidupdateObject(String columnLabel, Object x)protected voidupdateObject(String columnLabel, Object x, int scaleOrLength)protected voidupdateRef(int columnIndex, Ref x)protected voidupdateRef(String columnLabel, Ref x)protected voidupdateRow()protected voidupdateRowId(int columnIndex, RowId x)protected voidupdateRowId(String columnLabel, RowId x)protected voidupdateShort(int columnIndex, short x)protected voidupdateShort(String columnLabel, short x)protected voidupdateSQLXML(int columnIndex, SQLXML xmlObject)protected voidupdateSQLXML(String columnLabel, SQLXML xmlObject)protected voidupdateString(int columnIndex, String x)protected voidupdateString(String columnLabel, String x)protected voidupdateTime(int columnIndex, Time x)protected voidupdateTime(String columnLabel, Time x)protected voidupdateTimestamp(int columnIndex, Timestamp x)protected voidupdateTimestamp(String columnLabel, Timestamp x)protected booleanwasNull()
-
-
-
Constructor Detail
-
BaseResultSetHandler
public BaseResultSetHandler()
-
-
Method Detail
-
absolute
protected final boolean absolute(int row) throws SQLException
- Throws:
SQLException
-
afterLast
protected final void afterLast() throws SQLException
- Throws:
SQLException
-
beforeFirst
protected final void beforeFirst() throws SQLException
- Throws:
SQLException
-
cancelRowUpdates
protected final void cancelRowUpdates() throws SQLException
- Throws:
SQLException
-
clearWarnings
protected final void clearWarnings() throws SQLException
- Throws:
SQLException
-
close
protected final void close() throws SQLException
- Throws:
SQLException
-
deleteRow
protected final void deleteRow() throws SQLException
- Throws:
SQLException
-
findColumn
protected final int findColumn(String columnLabel) throws SQLException
- Throws:
SQLException
-
first
protected final boolean first() throws SQLException
- Throws:
SQLException
-
getAdaptedResultSet
protected final ResultSet getAdaptedResultSet()
-
getArray
protected final Array getArray(int columnIndex) throws SQLException
- Throws:
SQLException
-
getArray
protected final Array getArray(String columnLabel) throws SQLException
- Throws:
SQLException
-
getAsciiStream
protected final InputStream getAsciiStream(int columnIndex) throws SQLException
- Throws:
SQLException
-
getAsciiStream
protected final InputStream getAsciiStream(String columnLabel) throws SQLException
- Throws:
SQLException
-
getBigDecimal
protected final BigDecimal getBigDecimal(int columnIndex) throws SQLException
- Throws:
SQLException
-
getBigDecimal
@Deprecated protected final BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException
Deprecated.- Throws:
SQLException
-
getBigDecimal
protected final BigDecimal getBigDecimal(String columnLabel) throws SQLException
- Throws:
SQLException
-
getBigDecimal
@Deprecated protected final BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException
Deprecated.- Throws:
SQLException
-
getBinaryStream
protected final InputStream getBinaryStream(int columnIndex) throws SQLException
- Throws:
SQLException
-
getBinaryStream
protected final InputStream getBinaryStream(String columnLabel) throws SQLException
- Throws:
SQLException
-
getBlob
protected final Blob getBlob(int columnIndex) throws SQLException
- Throws:
SQLException
-
getBlob
protected final Blob getBlob(String columnLabel) throws SQLException
- Throws:
SQLException
-
getBoolean
protected final boolean getBoolean(int columnIndex) throws SQLException
- Throws:
SQLException
-
getBoolean
protected final boolean getBoolean(String columnLabel) throws SQLException
- Throws:
SQLException
-
getByte
protected final byte getByte(int columnIndex) throws SQLException
- Throws:
SQLException
-
getByte
protected final byte getByte(String columnLabel) throws SQLException
- Throws:
SQLException
-
getBytes
protected final byte[] getBytes(int columnIndex) throws SQLException
- Throws:
SQLException
-
getBytes
protected final byte[] getBytes(String columnLabel) throws SQLException
- Throws:
SQLException
-
getCharacterStream
protected final Reader getCharacterStream(int columnIndex) throws SQLException
- Throws:
SQLException
-
getCharacterStream
protected final Reader getCharacterStream(String columnLabel) throws SQLException
- Throws:
SQLException
-
getClob
protected final Clob getClob(int columnIndex) throws SQLException
- Throws:
SQLException
-
getClob
protected final Clob getClob(String columnLabel) throws SQLException
- Throws:
SQLException
-
getConcurrency
protected final int getConcurrency() throws SQLException
- Throws:
SQLException
-
getCursorName
protected final String getCursorName() throws SQLException
- Throws:
SQLException
-
getDate
protected final Date getDate(int columnIndex) throws SQLException
- Throws:
SQLException
-
getDate
protected final Date getDate(int columnIndex, Calendar cal) throws SQLException
- Throws:
SQLException
-
getDate
protected final Date getDate(String columnLabel) throws SQLException
- Throws:
SQLException
-
getDate
protected final Date getDate(String columnLabel, Calendar cal) throws SQLException
- Throws:
SQLException
-
getDouble
protected final double getDouble(int columnIndex) throws SQLException
- Throws:
SQLException
-
getDouble
protected final double getDouble(String columnLabel) throws SQLException
- Throws:
SQLException
-
getFetchDirection
protected final int getFetchDirection() throws SQLException
- Throws:
SQLException
-
getFetchSize
protected final int getFetchSize() throws SQLException
- Throws:
SQLException
-
getFloat
protected final float getFloat(int columnIndex) throws SQLException
- Throws:
SQLException
-
getFloat
protected final float getFloat(String columnLabel) throws SQLException
- Throws:
SQLException
-
getHoldability
protected final int getHoldability() throws SQLException
- Throws:
SQLException
-
getInt
protected final int getInt(int columnIndex) throws SQLException
- Throws:
SQLException
-
getInt
protected final int getInt(String columnLabel) throws SQLException
- Throws:
SQLException
-
getLong
protected final long getLong(int columnIndex) throws SQLException
- Throws:
SQLException
-
getLong
protected final long getLong(String columnLabel) throws SQLException
- Throws:
SQLException
-
getMetaData
protected final ResultSetMetaData getMetaData() throws SQLException
- Throws:
SQLException
-
getNCharacterStream
protected final Reader getNCharacterStream(int columnIndex) throws SQLException
- Throws:
SQLException
-
getNCharacterStream
protected final Reader getNCharacterStream(String columnLabel) throws SQLException
- Throws:
SQLException
-
getNClob
protected final NClob getNClob(int columnIndex) throws SQLException
- Throws:
SQLException
-
getNClob
protected final NClob getNClob(String columnLabel) throws SQLException
- Throws:
SQLException
-
getNString
protected final String getNString(int columnIndex) throws SQLException
- Throws:
SQLException
-
getNString
protected final String getNString(String columnLabel) throws SQLException
- Throws:
SQLException
-
getObject
protected final Object getObject(int columnIndex) throws SQLException
- Throws:
SQLException
-
getObject
protected final Object getObject(int columnIndex, Map<String,Class<?>> map) throws SQLException
- Throws:
SQLException
-
getObject
protected final Object getObject(String columnLabel) throws SQLException
- Throws:
SQLException
-
getObject
protected final Object getObject(String columnLabel, Map<String,Class<?>> map) throws SQLException
- Throws:
SQLException
-
getRef
protected final Ref getRef(int columnIndex) throws SQLException
- Throws:
SQLException
-
getRef
protected final Ref getRef(String columnLabel) throws SQLException
- Throws:
SQLException
-
getRow
protected final int getRow() throws SQLException
- Throws:
SQLException
-
getRowId
protected final RowId getRowId(int columnIndex) throws SQLException
- Throws:
SQLException
-
getRowId
protected final RowId getRowId(String columnLabel) throws SQLException
- Throws:
SQLException
-
getShort
protected final short getShort(int columnIndex) throws SQLException
- Throws:
SQLException
-
getShort
protected final short getShort(String columnLabel) throws SQLException
- Throws:
SQLException
-
getSQLXML
protected final SQLXML getSQLXML(int columnIndex) throws SQLException
- Throws:
SQLException
-
getSQLXML
protected final SQLXML getSQLXML(String columnLabel) throws SQLException
- Throws:
SQLException
-
getStatement
protected final Statement getStatement() throws SQLException
- Throws:
SQLException
-
getString
protected final String getString(int columnIndex) throws SQLException
- Throws:
SQLException
-
getString
protected final String getString(String columnLabel) throws SQLException
- Throws:
SQLException
-
getTime
protected final Time getTime(int columnIndex) throws SQLException
- Throws:
SQLException
-
getTime
protected final Time getTime(int columnIndex, Calendar cal) throws SQLException
- Throws:
SQLException
-
getTime
protected final Time getTime(String columnLabel) throws SQLException
- Throws:
SQLException
-
getTime
protected final Time getTime(String columnLabel, Calendar cal) throws SQLException
- Throws:
SQLException
-
getTimestamp
protected final Timestamp getTimestamp(int columnIndex) throws SQLException
- Throws:
SQLException
-
getTimestamp
protected final Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException
- Throws:
SQLException
-
getTimestamp
protected final Timestamp getTimestamp(String columnLabel) throws SQLException
- Throws:
SQLException
-
getTimestamp
protected final Timestamp getTimestamp(String columnLabel, Calendar cal) throws SQLException
- Throws:
SQLException
-
getType
protected final int getType() throws SQLException
- Throws:
SQLException
-
getUnicodeStream
@Deprecated protected final InputStream getUnicodeStream(int columnIndex) throws SQLException
Deprecated.- Throws:
SQLException
-
getUnicodeStream
@Deprecated protected final InputStream getUnicodeStream(String columnLabel) throws SQLException
Deprecated.- Throws:
SQLException
-
getURL
protected final URL getURL(int columnIndex) throws SQLException
- Throws:
SQLException
-
getURL
protected final URL getURL(String columnLabel) throws SQLException
- Throws:
SQLException
-
getWarnings
protected final SQLWarning getWarnings() throws SQLException
- Throws:
SQLException
-
handle
protected abstract T handle() throws SQLException
Turn theResultSetinto an Object.- Returns:
- An Object initialized with
ResultSetdata - Throws:
SQLException- if a database access error occurs- See Also:
ResultSetHandler.handle(ResultSet)
-
handle
public final T handle(ResultSet rs) throws SQLException
Turn theResultSetinto an Object.- Specified by:
handlein interfaceResultSetHandler<T>- Parameters:
rs- TheResultSetto handle. It has not been touched before being passed to this method.- Returns:
- An Object initialized with
ResultSetdata. It is legal for implementations to returnnullif theResultSetcontained 0 rows. - Throws:
SQLException- if a database access error occurs
-
insertRow
protected final void insertRow() throws SQLException
- Throws:
SQLException
-
isAfterLast
protected final boolean isAfterLast() throws SQLException
- Throws:
SQLException
-
isBeforeFirst
protected final boolean isBeforeFirst() throws SQLException
- Throws:
SQLException
-
isClosed
protected final boolean isClosed() throws SQLException
- Throws:
SQLException
-
isFirst
protected final boolean isFirst() throws SQLException
- Throws:
SQLException
-
isLast
protected final boolean isLast() throws SQLException
- Throws:
SQLException
-
isWrapperFor
protected final boolean isWrapperFor(Class<?> iface) throws SQLException
- Throws:
SQLException
-
last
protected final boolean last() throws SQLException
- Throws:
SQLException
-
moveToCurrentRow
protected final void moveToCurrentRow() throws SQLException
- Throws:
SQLException
-
moveToInsertRow
protected final void moveToInsertRow() throws SQLException
- Throws:
SQLException
-
next
protected final boolean next() throws SQLException
- Throws:
SQLException
-
previous
protected final boolean previous() throws SQLException
- Throws:
SQLException
-
refreshRow
protected final void refreshRow() throws SQLException
- Throws:
SQLException
-
relative
protected final boolean relative(int rows) throws SQLException
- Throws:
SQLException
-
rowDeleted
protected final boolean rowDeleted() throws SQLException
- Throws:
SQLException
-
rowInserted
protected final boolean rowInserted() throws SQLException
- Throws:
SQLException
-
rowUpdated
protected final boolean rowUpdated() throws SQLException
- Throws:
SQLException
-
setFetchDirection
protected final void setFetchDirection(int direction) throws SQLException
- Throws:
SQLException
-
setFetchSize
protected final void setFetchSize(int rows) throws SQLException
- Throws:
SQLException
-
unwrap
protected final <E> E unwrap(Class<E> iface) throws SQLException
- Throws:
SQLException
-
updateArray
protected final void updateArray(int columnIndex, Array x) throws SQLException
- Throws:
SQLException
-
updateArray
protected final void updateArray(String columnLabel, Array x) throws SQLException
- Throws:
SQLException
-
updateAsciiStream
protected final void updateAsciiStream(int columnIndex, InputStream x) throws SQLException
- Throws:
SQLException
-
updateAsciiStream
protected final void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException
- Throws:
SQLException
-
updateAsciiStream
protected final void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException
- Throws:
SQLException
-
updateAsciiStream
protected final void updateAsciiStream(String columnLabel, InputStream x) throws SQLException
- Throws:
SQLException
-
updateAsciiStream
protected final void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException
- Throws:
SQLException
-
updateAsciiStream
protected final void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException
- Throws:
SQLException
-
updateBigDecimal
protected final void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException
- Throws:
SQLException
-
updateBigDecimal
protected final void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException
- Throws:
SQLException
-
updateBinaryStream
protected final void updateBinaryStream(int columnIndex, InputStream x) throws SQLException
- Throws:
SQLException
-
updateBinaryStream
protected final void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException
- Throws:
SQLException
-
updateBinaryStream
protected final void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException
- Throws:
SQLException
-
updateBinaryStream
protected final void updateBinaryStream(String columnLabel, InputStream x) throws SQLException
- Throws:
SQLException
-
updateBinaryStream
protected final void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException
- Throws:
SQLException
-
updateBinaryStream
protected final void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException
- Throws:
SQLException
-
updateBlob
protected final void updateBlob(int columnIndex, Blob x) throws SQLException
- Throws:
SQLException
-
updateBlob
protected final void updateBlob(int columnIndex, InputStream inputStream) throws SQLException
- Throws:
SQLException
-
updateBlob
protected final void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException
- Throws:
SQLException
-
updateBlob
protected final void updateBlob(String columnLabel, Blob x) throws SQLException
- Throws:
SQLException
-
updateBlob
protected final void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
- Throws:
SQLException
-
updateBlob
protected final void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
- Throws:
SQLException
-
updateBoolean
protected final void updateBoolean(int columnIndex, boolean x) throws SQLException
- Throws:
SQLException
-
updateBoolean
protected final void updateBoolean(String columnLabel, boolean x) throws SQLException
- Throws:
SQLException
-
updateByte
protected final void updateByte(int columnIndex, byte x) throws SQLException
- Throws:
SQLException
-
updateByte
protected final void updateByte(String columnLabel, byte x) throws SQLException
- Throws:
SQLException
-
updateBytes
protected final void updateBytes(int columnIndex, byte[] x) throws SQLException
- Throws:
SQLException
-
updateBytes
protected final void updateBytes(String columnLabel, byte[] x) throws SQLException
- Throws:
SQLException
-
updateCharacterStream
protected final void updateCharacterStream(int columnIndex, Reader x) throws SQLException
- Throws:
SQLException
-
updateCharacterStream
protected final void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException
- Throws:
SQLException
-
updateCharacterStream
protected final void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException
- Throws:
SQLException
-
updateCharacterStream
protected final void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
- Throws:
SQLException
-
updateCharacterStream
protected final void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException
- Throws:
SQLException
-
updateCharacterStream
protected final void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
- Throws:
SQLException
-
updateClob
protected final void updateClob(int columnIndex, Clob x) throws SQLException
- Throws:
SQLException
-
updateClob
protected final void updateClob(int columnIndex, Reader reader) throws SQLException
- Throws:
SQLException
-
updateClob
protected final void updateClob(int columnIndex, Reader reader, long length) throws SQLException
- Throws:
SQLException
-
updateClob
protected final void updateClob(String columnLabel, Clob x) throws SQLException
- Throws:
SQLException
-
updateClob
protected final void updateClob(String columnLabel, Reader reader) throws SQLException
- Throws:
SQLException
-
updateClob
protected final void updateClob(String columnLabel, Reader reader, long length) throws SQLException
- Throws:
SQLException
-
updateDate
protected final void updateDate(int columnIndex, Date x) throws SQLException
- Throws:
SQLException
-
updateDate
protected final void updateDate(String columnLabel, Date x) throws SQLException
- Throws:
SQLException
-
updateDouble
protected final void updateDouble(int columnIndex, double x) throws SQLException
- Throws:
SQLException
-
updateDouble
protected final void updateDouble(String columnLabel, double x) throws SQLException
- Throws:
SQLException
-
updateFloat
protected final void updateFloat(int columnIndex, float x) throws SQLException
- Throws:
SQLException
-
updateFloat
protected final void updateFloat(String columnLabel, float x) throws SQLException
- Throws:
SQLException
-
updateInt
protected final void updateInt(int columnIndex, int x) throws SQLException
- Throws:
SQLException
-
updateInt
protected final void updateInt(String columnLabel, int x) throws SQLException
- Throws:
SQLException
-
updateLong
protected final void updateLong(int columnIndex, long x) throws SQLException
- Throws:
SQLException
-
updateLong
protected final void updateLong(String columnLabel, long x) throws SQLException
- Throws:
SQLException
-
updateNCharacterStream
protected final void updateNCharacterStream(int columnIndex, Reader x) throws SQLException
- Throws:
SQLException
-
updateNCharacterStream
protected final void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException
- Throws:
SQLException
-
updateNCharacterStream
protected final void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
- Throws:
SQLException
-
updateNCharacterStream
protected final void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
- Throws:
SQLException
-
updateNClob
protected final void updateNClob(int columnIndex, NClob nClob) throws SQLException
- Throws:
SQLException
-
updateNClob
protected final void updateNClob(int columnIndex, Reader reader) throws SQLException
- Throws:
SQLException
-
updateNClob
protected final void updateNClob(int columnIndex, Reader reader, long length) throws SQLException
- Throws:
SQLException
-
updateNClob
protected final void updateNClob(String columnLabel, NClob nClob) throws SQLException
- Throws:
SQLException
-
updateNClob
protected final void updateNClob(String columnLabel, Reader reader) throws SQLException
- Throws:
SQLException
-
updateNClob
protected final void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
- Throws:
SQLException
-
updateNString
protected final void updateNString(int columnIndex, String nString) throws SQLException
- Throws:
SQLException
-
updateNString
protected final void updateNString(String columnLabel, String nString) throws SQLException
- Throws:
SQLException
-
updateNull
protected final void updateNull(int columnIndex) throws SQLException
- Throws:
SQLException
-
updateNull
protected final void updateNull(String columnLabel) throws SQLException
- Throws:
SQLException
-
updateObject
protected final void updateObject(int columnIndex, Object x) throws SQLException
- Throws:
SQLException
-
updateObject
protected final void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException
- Throws:
SQLException
-
updateObject
protected final void updateObject(String columnLabel, Object x) throws SQLException
- Throws:
SQLException
-
updateObject
protected final void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException
- Throws:
SQLException
-
updateRef
protected final void updateRef(int columnIndex, Ref x) throws SQLException
- Throws:
SQLException
-
updateRef
protected final void updateRef(String columnLabel, Ref x) throws SQLException
- Throws:
SQLException
-
updateRow
protected final void updateRow() throws SQLException
- Throws:
SQLException
-
updateRowId
protected final void updateRowId(int columnIndex, RowId x) throws SQLException
- Throws:
SQLException
-
updateRowId
protected final void updateRowId(String columnLabel, RowId x) throws SQLException
- Throws:
SQLException
-
updateShort
protected final void updateShort(int columnIndex, short x) throws SQLException
- Throws:
SQLException
-
updateShort
protected final void updateShort(String columnLabel, short x) throws SQLException
- Throws:
SQLException
-
updateSQLXML
protected final void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException
- Throws:
SQLException
-
updateSQLXML
protected final void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException
- Throws:
SQLException
-
updateString
protected final void updateString(int columnIndex, String x) throws SQLException
- Throws:
SQLException
-
updateString
protected final void updateString(String columnLabel, String x) throws SQLException
- Throws:
SQLException
-
updateTime
protected final void updateTime(int columnIndex, Time x) throws SQLException
- Throws:
SQLException
-
updateTime
protected final void updateTime(String columnLabel, Time x) throws SQLException
- Throws:
SQLException
-
updateTimestamp
protected final void updateTimestamp(int columnIndex, Timestamp x) throws SQLException
- Throws:
SQLException
-
updateTimestamp
protected final void updateTimestamp(String columnLabel, Timestamp x) throws SQLException
- Throws:
SQLException
-
wasNull
protected final boolean wasNull() throws SQLException
- Throws:
SQLException
-
-