Package org.apache.openjpa.lib.jdbc
Class DelegatingResultSet
- java.lang.Object
-
- org.apache.openjpa.lib.jdbc.DelegatingResultSet
-
- All Implemented Interfaces:
AutoCloseable,ResultSet,Wrapper,Closeable
- Direct Known Subclasses:
LoggingConnectionDecorator.LoggingConnection.LoggingResultSet
public class DelegatingResultSet extends Object implements ResultSet, Closeable
Wrapper around an existing result set. Subclasses can override the methods whose behavior they mean to change. TheequalsandhashCodemethods pass through to the base underlying data store statement.- Author:
- Marc Prud'hommeaux
-
-
Field Summary
-
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
-
-
Constructor Summary
Constructors Constructor Description DelegatingResultSet(ResultSet rs, Statement stmnt)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanabsolute(int a)voidafterLast()protected voidappendInfo(StringBuffer buf)voidbeforeFirst()voidcancelRowUpdates()voidclearWarnings()voidclose()voiddeleteRow()booleanequals(Object other)intfindColumn(String a)booleanfirst()ArraygetArray(int a)ArraygetArray(String a)InputStreamgetAsciiStream(int a)InputStreamgetAsciiStream(String a)BigDecimalgetBigDecimal(int a)BigDecimalgetBigDecimal(int a, int b)Deprecated.BigDecimalgetBigDecimal(String a)BigDecimalgetBigDecimal(String a, int b)Deprecated.InputStreamgetBinaryStream(int a)InputStreamgetBinaryStream(String a)BlobgetBlob(int a)BlobgetBlob(String a)booleangetBoolean(int a)booleangetBoolean(String a)bytegetByte(int a)bytegetByte(String a)byte[]getBytes(int a)byte[]getBytes(String a)ReadergetCharacterStream(int a)ReadergetCharacterStream(String a)ClobgetClob(int a)ClobgetClob(String a)intgetConcurrency()StringgetCursorName()DategetDate(int a)DategetDate(int a, Calendar b)DategetDate(String a)DategetDate(String a, Calendar b)ResultSetgetDelegate()Return the wrapped result set.doublegetDouble(int a)doublegetDouble(String a)intgetFetchDirection()intgetFetchSize()floatgetFloat(int a)floatgetFloat(String a)intgetHoldability()ResultSetgetInnermostDelegate()Return the inner-most wrapped delegate.intgetInt(int a)intgetInt(String a)longgetLong(int a)longgetLong(String a)ResultSetMetaDatagetMetaData()ReadergetNCharacterStream(int columnIndex)ReadergetNCharacterStream(String columnLabel)NClobgetNClob(int columnIndex)NClobgetNClob(String columnLabel)StringgetNString(int columnIndex)StringgetNString(String columnLabel)ObjectgetObject(int a)<T> TgetObject(int columnIndex, Class<T> type)ObjectgetObject(int a, Map<String,Class<?>> b)ObjectgetObject(String a)<T> TgetObject(String columnLabel, Class<T> type)ObjectgetObject(String a, Map<String,Class<?>> b)RefgetRef(int a)RefgetRef(String a)intgetRow()RowIdgetRowId(int columnIndex)RowIdgetRowId(String columnLabel)shortgetShort(int a)shortgetShort(String a)SQLXMLgetSQLXML(int columnIndex)SQLXMLgetSQLXML(String columnLabel)StatementgetStatement()StringgetString(int a)StringgetString(String a)TimegetTime(int a)TimegetTime(int a, Calendar b)TimegetTime(String a)TimegetTime(String a, Calendar b)TimestampgetTimestamp(int a)TimestampgetTimestamp(int a, Calendar b)TimestampgetTimestamp(String a)TimestampgetTimestamp(String a, Calendar b)intgetType()InputStreamgetUnicodeStream(int a)Deprecated.InputStreamgetUnicodeStream(String a)Deprecated.URLgetURL(int column)URLgetURL(String columnName)SQLWarninggetWarnings()inthashCode()voidinsertRow()booleanisAfterLast()booleanisBeforeFirst()booleanisClosed()booleanisFirst()booleanisLast()booleanisWrapperFor(Class<?> iface)booleanlast()voidmoveToCurrentRow()voidmoveToInsertRow()booleannext()booleanprevious()voidrefreshRow()booleanrelative(int a)booleanrowDeleted()booleanrowInserted()booleanrowUpdated()voidsetFetchDirection(int a)voidsetFetchSize(int a)StringtoString()<T> Tunwrap(Class<T> iface)voidupdateArray(int column, Array array)voidupdateArray(String columnName, Array array)voidupdateAsciiStream(int columnIndex, InputStream x)voidupdateAsciiStream(int a, InputStream in, int b)voidupdateAsciiStream(int columnIndex, InputStream x, long length)voidupdateAsciiStream(String columnLabel, InputStream x)voidupdateAsciiStream(String a, InputStream in, int b)voidupdateAsciiStream(String columnLabel, InputStream x, long length)voidupdateBigDecimal(int a, BigDecimal b)voidupdateBigDecimal(String a, BigDecimal b)voidupdateBinaryStream(int columnIndex, InputStream x)voidupdateBinaryStream(int a, InputStream in, int b)voidupdateBinaryStream(int columnIndex, InputStream x, long length)voidupdateBinaryStream(String columnLabel, InputStream x)voidupdateBinaryStream(String a, InputStream in, int b)voidupdateBinaryStream(String columnLabel, InputStream x, long length)voidupdateBlob(int columnIndex, InputStream inputStream)voidupdateBlob(int columnIndex, InputStream inputStream, long length)voidupdateBlob(int a, Blob blob)voidupdateBlob(String columnLabel, InputStream inputStream)voidupdateBlob(String columnLabel, InputStream inputStream, long length)voidupdateBlob(String columnName, Blob blob)voidupdateBoolean(int a, boolean b)voidupdateBoolean(String a, boolean b)voidupdateByte(int a, byte b)voidupdateByte(String a, byte b)voidupdateBytes(int a, byte[] b)voidupdateBytes(String a, byte[] b)voidupdateCharacterStream(int columnIndex, Reader x)voidupdateCharacterStream(int a, Reader reader, int b)voidupdateCharacterStream(int columnIndex, Reader x, long length)voidupdateCharacterStream(String columnLabel, Reader reader)voidupdateCharacterStream(String a, Reader reader, int b)voidupdateCharacterStream(String columnLabel, Reader reader, long length)voidupdateClob(int columnIndex, Reader reader)voidupdateClob(int columnIndex, Reader reader, long length)voidupdateClob(int a, Clob clob)voidupdateClob(String columnLabel, Reader reader)voidupdateClob(String columnLabel, Reader reader, long length)voidupdateClob(String columnName, Clob clob)voidupdateDate(int a, Date b)voidupdateDate(String a, Date b)voidupdateDouble(int a, double b)voidupdateDouble(String a, double b)voidupdateFloat(int a, float b)voidupdateFloat(String a, float b)voidupdateInt(int a, int b)voidupdateInt(String a, int b)voidupdateLong(int a, long b)voidupdateLong(String a, long b)voidupdateNCharacterStream(int columnIndex, Reader x)voidupdateNCharacterStream(int columnIndex, Reader x, long length)voidupdateNCharacterStream(String columnLabel, Reader reader)voidupdateNCharacterStream(String columnLabel, Reader reader, long length)voidupdateNClob(int columnIndex, Reader reader)voidupdateNClob(int columnIndex, Reader reader, long length)voidupdateNClob(int columnIndex, NClob nClob)voidupdateNClob(String columnLabel, Reader reader)voidupdateNClob(String columnLabel, Reader reader, long length)voidupdateNClob(String columnLabel, NClob nClob)voidupdateNString(int columnIndex, String nString)voidupdateNString(String columnLabel, String nString)voidupdateNull(int a)voidupdateNull(String a)voidupdateObject(int a, Object ob)voidupdateObject(int a, Object ob, int b)voidupdateObject(String a, Object b)voidupdateObject(String a, Object ob, int b)voidupdateRef(int column, Ref ref)voidupdateRef(String columnName, Ref ref)voidupdateRow()voidupdateRowId(int columnIndex, RowId x)voidupdateRowId(String columnLabel, RowId x)voidupdateShort(int a, short b)voidupdateShort(String a, short b)voidupdateSQLXML(int columnIndex, SQLXML xmlObject)voidupdateSQLXML(String columnLabel, SQLXML xmlObject)voidupdateString(int a, String b)voidupdateString(String a, String b)voidupdateTime(int a, Time b)voidupdateTime(String a, Time b)voidupdateTimestamp(int a, Timestamp b)voidupdateTimestamp(String a, Timestamp b)booleanwasNull()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.sql.ResultSet
updateObject, updateObject, updateObject, updateObject
-
-
-
-
Method Detail
-
getDelegate
public ResultSet getDelegate()
Return the wrapped result set.
-
getInnermostDelegate
public ResultSet getInnermostDelegate()
Return the inner-most wrapped delegate.
-
appendInfo
protected void appendInfo(StringBuffer buf)
-
next
public boolean next() throws SQLException- Specified by:
nextin interfaceResultSet- Throws:
SQLException
-
close
public void close() throws SQLException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceResultSet- Throws:
SQLException
-
wasNull
public boolean wasNull() throws SQLException- Specified by:
wasNullin interfaceResultSet- Throws:
SQLException
-
getString
public String getString(int a) throws SQLException
- Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
getBoolean
public boolean getBoolean(int a) throws SQLException- Specified by:
getBooleanin interfaceResultSet- Throws:
SQLException
-
getByte
public byte getByte(int a) throws SQLException- Specified by:
getBytein interfaceResultSet- Throws:
SQLException
-
getShort
public short getShort(int a) throws SQLException- Specified by:
getShortin interfaceResultSet- Throws:
SQLException
-
getInt
public int getInt(int a) throws SQLException- Specified by:
getIntin interfaceResultSet- Throws:
SQLException
-
getLong
public long getLong(int a) throws SQLException- Specified by:
getLongin interfaceResultSet- Throws:
SQLException
-
getFloat
public float getFloat(int a) throws SQLException- Specified by:
getFloatin interfaceResultSet- Throws:
SQLException
-
getDouble
public double getDouble(int a) throws SQLException- Specified by:
getDoublein interfaceResultSet- Throws:
SQLException
-
getBigDecimal
@Deprecated public BigDecimal getBigDecimal(int a, int b) throws SQLException
Deprecated.- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBytes
public byte[] getBytes(int a) throws SQLException- Specified by:
getBytesin interfaceResultSet- Throws:
SQLException
-
getDate
public Date getDate(int a) throws SQLException
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
public Time getTime(int a) throws SQLException
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(int a) throws SQLException
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getAsciiStream
public InputStream getAsciiStream(int a) throws SQLException
- Specified by:
getAsciiStreamin interfaceResultSet- Throws:
SQLException
-
getUnicodeStream
@Deprecated public InputStream getUnicodeStream(int a) throws SQLException
Deprecated.- Specified by:
getUnicodeStreamin interfaceResultSet- Throws:
SQLException
-
getBinaryStream
public InputStream getBinaryStream(int a) throws SQLException
- Specified by:
getBinaryStreamin interfaceResultSet- Throws:
SQLException
-
getString
public String getString(String a) throws SQLException
- Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
getBoolean
public boolean getBoolean(String a) throws SQLException
- Specified by:
getBooleanin interfaceResultSet- Throws:
SQLException
-
getByte
public byte getByte(String a) throws SQLException
- Specified by:
getBytein interfaceResultSet- Throws:
SQLException
-
getShort
public short getShort(String a) throws SQLException
- Specified by:
getShortin interfaceResultSet- Throws:
SQLException
-
getInt
public int getInt(String a) throws SQLException
- Specified by:
getIntin interfaceResultSet- Throws:
SQLException
-
getLong
public long getLong(String a) throws SQLException
- Specified by:
getLongin interfaceResultSet- Throws:
SQLException
-
getFloat
public float getFloat(String a) throws SQLException
- Specified by:
getFloatin interfaceResultSet- Throws:
SQLException
-
getDouble
public double getDouble(String a) throws SQLException
- Specified by:
getDoublein interfaceResultSet- Throws:
SQLException
-
getBigDecimal
@Deprecated public BigDecimal getBigDecimal(String a, int b) throws SQLException
Deprecated.- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBytes
public byte[] getBytes(String a) throws SQLException
- Specified by:
getBytesin interfaceResultSet- Throws:
SQLException
-
getDate
public Date getDate(String a) throws SQLException
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
public Time getTime(String a) throws SQLException
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(String a) throws SQLException
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getAsciiStream
public InputStream getAsciiStream(String a) throws SQLException
- Specified by:
getAsciiStreamin interfaceResultSet- Throws:
SQLException
-
getUnicodeStream
@Deprecated public InputStream getUnicodeStream(String a) throws SQLException
Deprecated.- Specified by:
getUnicodeStreamin interfaceResultSet- Throws:
SQLException
-
getBinaryStream
public InputStream getBinaryStream(String a) throws SQLException
- Specified by:
getBinaryStreamin interfaceResultSet- Throws:
SQLException
-
getWarnings
public SQLWarning getWarnings() throws SQLException
- Specified by:
getWarningsin interfaceResultSet- Throws:
SQLException
-
clearWarnings
public void clearWarnings() throws SQLException- Specified by:
clearWarningsin interfaceResultSet- Throws:
SQLException
-
getCursorName
public String getCursorName() throws SQLException
- Specified by:
getCursorNamein interfaceResultSet- Throws:
SQLException
-
getMetaData
public ResultSetMetaData getMetaData() throws SQLException
- Specified by:
getMetaDatain interfaceResultSet- Throws:
SQLException
-
getObject
public Object getObject(int a) throws SQLException
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
public Object getObject(String a) throws SQLException
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
findColumn
public int findColumn(String a) throws SQLException
- Specified by:
findColumnin interfaceResultSet- Throws:
SQLException
-
getCharacterStream
public Reader getCharacterStream(int a) throws SQLException
- Specified by:
getCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getCharacterStream
public Reader getCharacterStream(String a) throws SQLException
- Specified by:
getCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
public BigDecimal getBigDecimal(int a) throws SQLException
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
public BigDecimal getBigDecimal(String a) throws SQLException
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
isBeforeFirst
public boolean isBeforeFirst() throws SQLException- Specified by:
isBeforeFirstin interfaceResultSet- Throws:
SQLException
-
isAfterLast
public boolean isAfterLast() throws SQLException- Specified by:
isAfterLastin interfaceResultSet- Throws:
SQLException
-
isFirst
public boolean isFirst() throws SQLException- Specified by:
isFirstin interfaceResultSet- Throws:
SQLException
-
isLast
public boolean isLast() throws SQLException- Specified by:
isLastin interfaceResultSet- Throws:
SQLException
-
beforeFirst
public void beforeFirst() throws SQLException- Specified by:
beforeFirstin interfaceResultSet- Throws:
SQLException
-
afterLast
public void afterLast() throws SQLException- Specified by:
afterLastin interfaceResultSet- Throws:
SQLException
-
first
public boolean first() throws SQLException- Specified by:
firstin interfaceResultSet- Throws:
SQLException
-
last
public boolean last() throws SQLException- Specified by:
lastin interfaceResultSet- Throws:
SQLException
-
getRow
public int getRow() throws SQLException- Specified by:
getRowin interfaceResultSet- Throws:
SQLException
-
absolute
public boolean absolute(int a) throws SQLException- Specified by:
absolutein interfaceResultSet- Throws:
SQLException
-
relative
public boolean relative(int a) throws SQLException- Specified by:
relativein interfaceResultSet- Throws:
SQLException
-
previous
public boolean previous() throws SQLException- Specified by:
previousin interfaceResultSet- Throws:
SQLException
-
setFetchDirection
public void setFetchDirection(int a) throws SQLException- Specified by:
setFetchDirectionin interfaceResultSet- Throws:
SQLException
-
getFetchDirection
public int getFetchDirection() throws SQLException- Specified by:
getFetchDirectionin interfaceResultSet- Throws:
SQLException
-
setFetchSize
public void setFetchSize(int a) throws SQLException- Specified by:
setFetchSizein interfaceResultSet- Throws:
SQLException
-
getFetchSize
public int getFetchSize() throws SQLException- Specified by:
getFetchSizein interfaceResultSet- Throws:
SQLException
-
getType
public int getType() throws SQLException- Specified by:
getTypein interfaceResultSet- Throws:
SQLException
-
getConcurrency
public int getConcurrency() throws SQLException- Specified by:
getConcurrencyin interfaceResultSet- Throws:
SQLException
-
rowUpdated
public boolean rowUpdated() throws SQLException- Specified by:
rowUpdatedin interfaceResultSet- Throws:
SQLException
-
rowInserted
public boolean rowInserted() throws SQLException- Specified by:
rowInsertedin interfaceResultSet- Throws:
SQLException
-
rowDeleted
public boolean rowDeleted() throws SQLException- Specified by:
rowDeletedin interfaceResultSet- Throws:
SQLException
-
updateNull
public void updateNull(int a) throws SQLException- Specified by:
updateNullin interfaceResultSet- Throws:
SQLException
-
updateBoolean
public void updateBoolean(int a, boolean b) throws SQLException- Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLException
-
updateByte
public void updateByte(int a, byte b) throws SQLException- Specified by:
updateBytein interfaceResultSet- Throws:
SQLException
-
updateShort
public void updateShort(int a, short b) throws SQLException- Specified by:
updateShortin interfaceResultSet- Throws:
SQLException
-
updateInt
public void updateInt(int a, int b) throws SQLException- Specified by:
updateIntin interfaceResultSet- Throws:
SQLException
-
updateLong
public void updateLong(int a, long b) throws SQLException- Specified by:
updateLongin interfaceResultSet- Throws:
SQLException
-
updateFloat
public void updateFloat(int a, float b) throws SQLException- Specified by:
updateFloatin interfaceResultSet- Throws:
SQLException
-
updateDouble
public void updateDouble(int a, double b) throws SQLException- Specified by:
updateDoublein interfaceResultSet- Throws:
SQLException
-
updateBigDecimal
public void updateBigDecimal(int a, BigDecimal b) throws SQLException- Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLException
-
updateString
public void updateString(int a, String b) throws SQLException- Specified by:
updateStringin interfaceResultSet- Throws:
SQLException
-
updateBytes
public void updateBytes(int a, byte[] b) throws SQLException- Specified by:
updateBytesin interfaceResultSet- Throws:
SQLException
-
updateDate
public void updateDate(int a, Date b) throws SQLException- Specified by:
updateDatein interfaceResultSet- Throws:
SQLException
-
updateTime
public void updateTime(int a, Time b) throws SQLException- Specified by:
updateTimein interfaceResultSet- Throws:
SQLException
-
updateTimestamp
public void updateTimestamp(int a, Timestamp b) throws SQLException- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int a, InputStream in, int b) throws SQLException- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int a, InputStream in, int b) throws SQLException- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(int a, Blob blob) throws SQLException- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int a, Reader reader, int b) throws SQLException- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateClob
public void updateClob(int a, Clob clob) throws SQLException- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(int a, Object ob, int b) throws SQLException- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(int a, Object ob) throws SQLException- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateNull
public void updateNull(String a) throws SQLException
- Specified by:
updateNullin interfaceResultSet- Throws:
SQLException
-
updateBoolean
public void updateBoolean(String a, boolean b) throws SQLException
- Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLException
-
updateByte
public void updateByte(String a, byte b) throws SQLException
- Specified by:
updateBytein interfaceResultSet- Throws:
SQLException
-
updateShort
public void updateShort(String a, short b) throws SQLException
- Specified by:
updateShortin interfaceResultSet- Throws:
SQLException
-
updateInt
public void updateInt(String a, int b) throws SQLException
- Specified by:
updateIntin interfaceResultSet- Throws:
SQLException
-
updateLong
public void updateLong(String a, long b) throws SQLException
- Specified by:
updateLongin interfaceResultSet- Throws:
SQLException
-
updateFloat
public void updateFloat(String a, float b) throws SQLException
- Specified by:
updateFloatin interfaceResultSet- Throws:
SQLException
-
updateDouble
public void updateDouble(String a, double b) throws SQLException
- Specified by:
updateDoublein interfaceResultSet- Throws:
SQLException
-
updateBigDecimal
public void updateBigDecimal(String a, BigDecimal b) throws SQLException
- Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLException
-
updateString
public void updateString(String a, String b) throws SQLException
- Specified by:
updateStringin interfaceResultSet- Throws:
SQLException
-
updateBytes
public void updateBytes(String a, byte[] b) throws SQLException
- Specified by:
updateBytesin interfaceResultSet- Throws:
SQLException
-
updateDate
public void updateDate(String a, Date b) throws SQLException
- Specified by:
updateDatein interfaceResultSet- Throws:
SQLException
-
updateTime
public void updateTime(String a, Time b) throws SQLException
- Specified by:
updateTimein interfaceResultSet- Throws:
SQLException
-
updateTimestamp
public void updateTimestamp(String a, Timestamp b) throws SQLException
- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String a, InputStream in, int b) throws SQLException
- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String a, InputStream in, int b) throws SQLException
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String a, Reader reader, int b) throws SQLException
- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(String a, Object ob, int b) throws SQLException
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(String a, Object b) throws SQLException
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
insertRow
public void insertRow() throws SQLException- Specified by:
insertRowin interfaceResultSet- Throws:
SQLException
-
updateRow
public void updateRow() throws SQLException- Specified by:
updateRowin interfaceResultSet- Throws:
SQLException
-
deleteRow
public void deleteRow() throws SQLException- Specified by:
deleteRowin interfaceResultSet- Throws:
SQLException
-
refreshRow
public void refreshRow() throws SQLException- Specified by:
refreshRowin interfaceResultSet- Throws:
SQLException
-
cancelRowUpdates
public void cancelRowUpdates() throws SQLException- Specified by:
cancelRowUpdatesin interfaceResultSet- Throws:
SQLException
-
moveToInsertRow
public void moveToInsertRow() throws SQLException- Specified by:
moveToInsertRowin interfaceResultSet- Throws:
SQLException
-
moveToCurrentRow
public void moveToCurrentRow() throws SQLException- Specified by:
moveToCurrentRowin interfaceResultSet- Throws:
SQLException
-
getStatement
public Statement getStatement() throws SQLException
- Specified by:
getStatementin interfaceResultSet- Throws:
SQLException
-
getObject
public Object getObject(int a, Map<String,Class<?>> b) throws SQLException
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getRef
public Ref getRef(int a) throws SQLException
- Specified by:
getRefin interfaceResultSet- Throws:
SQLException
-
getBlob
public Blob getBlob(int a) throws SQLException
- Specified by:
getBlobin interfaceResultSet- Throws:
SQLException
-
getClob
public Clob getClob(int a) throws SQLException
- Specified by:
getClobin interfaceResultSet- Throws:
SQLException
-
getArray
public Array getArray(int a) throws SQLException
- Specified by:
getArrayin interfaceResultSet- Throws:
SQLException
-
getObject
public Object getObject(String a, Map<String,Class<?>> b) throws SQLException
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getRef
public Ref getRef(String a) throws SQLException
- Specified by:
getRefin interfaceResultSet- Throws:
SQLException
-
getBlob
public Blob getBlob(String a) throws SQLException
- Specified by:
getBlobin interfaceResultSet- Throws:
SQLException
-
getClob
public Clob getClob(String a) throws SQLException
- Specified by:
getClobin interfaceResultSet- Throws:
SQLException
-
getArray
public Array getArray(String a) throws SQLException
- Specified by:
getArrayin interfaceResultSet- Throws:
SQLException
-
getDate
public Date getDate(int a, Calendar b) throws SQLException
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getDate
public Date getDate(String a, Calendar b) throws SQLException
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
public Time getTime(int a, Calendar b) throws SQLException
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTime
public Time getTime(String a, Calendar b) throws SQLException
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(int a, Calendar b) throws SQLException
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(String a, Calendar b) throws SQLException
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getURL
public URL getURL(int column) throws SQLException
- Specified by:
getURLin interfaceResultSet- Throws:
SQLException
-
getURL
public URL getURL(String columnName) throws SQLException
- Specified by:
getURLin interfaceResultSet- Throws:
SQLException
-
updateRef
public void updateRef(int column, Ref ref) throws SQLException- Specified by:
updateRefin interfaceResultSet- Throws:
SQLException
-
updateRef
public void updateRef(String columnName, Ref ref) throws SQLException
- Specified by:
updateRefin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnName, Blob blob) throws SQLException
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateClob
public void updateClob(String columnName, Clob clob) throws SQLException
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateArray
public void updateArray(int column, Array array) throws SQLException- Specified by:
updateArrayin interfaceResultSet- Throws:
SQLException
-
updateArray
public void updateArray(String columnName, Array array) throws SQLException
- Specified by:
updateArrayin interfaceResultSet- Throws:
SQLException
-
isWrapperFor
public boolean isWrapperFor(Class<?> iface) throws SQLException
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
unwrap
public <T> T unwrap(Class<T> iface) throws SQLException
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
getHoldability
public int getHoldability() throws SQLException- Specified by:
getHoldabilityin interfaceResultSet- Throws:
SQLException
-
getNCharacterStream
public Reader getNCharacterStream(int columnIndex) throws SQLException
- Specified by:
getNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getNCharacterStream
public Reader getNCharacterStream(String columnLabel) throws SQLException
- Specified by:
getNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getNClob
public NClob getNClob(int columnIndex) throws SQLException
- Specified by:
getNClobin interfaceResultSet- Throws:
SQLException
-
getNClob
public NClob getNClob(String columnLabel) throws SQLException
- Specified by:
getNClobin interfaceResultSet- Throws:
SQLException
-
getNString
public String getNString(int columnIndex) throws SQLException
- Specified by:
getNStringin interfaceResultSet- Throws:
SQLException
-
getNString
public String getNString(String columnLabel) throws SQLException
- Specified by:
getNStringin interfaceResultSet- Throws:
SQLException
-
getRowId
public RowId getRowId(int columnIndex) throws SQLException
- Specified by:
getRowIdin interfaceResultSet- Throws:
SQLException
-
getRowId
public RowId getRowId(String columnLabel) throws SQLException
- Specified by:
getRowIdin interfaceResultSet- Throws:
SQLException
-
getSQLXML
public SQLXML getSQLXML(int columnIndex) throws SQLException
- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLException
-
getSQLXML
public SQLXML getSQLXML(String columnLabel) throws SQLException
- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLException
-
isClosed
public boolean isClosed() throws SQLException- Specified by:
isClosedin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException
- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException
- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x) throws SQLException- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateClob
public void updateClob(int columnIndex, Reader reader, long length) throws SQLException- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
public void updateClob(int columnIndex, Reader reader) throws SQLException- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
public void updateClob(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
public void updateClob(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, NClob nClob) throws SQLException- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, Reader reader) throws SQLException- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, NClob nClob) throws SQLException
- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNString
public void updateNString(int columnIndex, String nString) throws SQLException- Specified by:
updateNStringin interfaceResultSet- Throws:
SQLException
-
updateNString
public void updateNString(String columnLabel, String nString) throws SQLException
- Specified by:
updateNStringin interfaceResultSet- Throws:
SQLException
-
updateRowId
public void updateRowId(int columnIndex, RowId x) throws SQLException- Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLException
-
updateRowId
public void updateRowId(String columnLabel, RowId x) throws SQLException
- Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLException
-
updateSQLXML
public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException- Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLException
-
updateSQLXML
public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException
- Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLException
-
getObject
public <T> T getObject(String columnLabel, Class<T> type) throws SQLException
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
public <T> T getObject(int columnIndex, Class<T> type) throws SQLException- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
-