Package net.sourceforge.jtds.jdbc
Class JtdsResultSet
- java.lang.Object
-
- net.sourceforge.jtds.jdbc.JtdsResultSet
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.sql.ResultSet,java.sql.Wrapper
- Direct Known Subclasses:
CachedResultSet,MSCursorResultSet
public class JtdsResultSet extends java.lang.Object implements java.sql.ResultSetjTDS Implementation of the java.sql.ResultSet interface supporting forward read only result sets.Implementation notes:
- This class is also the base for more sophisticated result sets and incorporates the update methods required by them.
- The class supports the BLOB/CLOB objects added by Brian.
- Version:
- $Id: JtdsResultSet.java,v 1.46.2.5 2009-12-30 11:37:21 ickzon Exp $
- Author:
- Mike Hutchinson
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancancelledTrue if the query has been cancelled by another thread.(package private) static intCLOSE_CURSORS_AT_COMMITprotected booleanclosedTrue if this result set is closed.protected intcolumnCountNumber of visible columns in row.private java.util.HashMapcolumnMapCache to optimize findColumn(String) lookupsprotected ColInfo[]columnsThe array of column descriptors.protected intconcurrencyThe result set concurrency.protected java.lang.Object[]currentRowThe current result set row.protected java.lang.StringcursorNameThe cursor name to be used for positioned updates.protected intdirectionThe fetch direction.private static java.text.NumberFormatfUsed to format numeric values when scale is specified.protected intfetchDirectionThe fetch direction.protected intfetchSizeThe fetch size (only applies to cursorResultSets).(package private) static intHOLD_CURSORS_OVER_COMMITprotected static intINITIAL_ROW_COUNTInitial size for row array.protected intposThe current row number.protected static intPOS_AFTER_LASTprotected static intPOS_BEFORE_FIRSTprotected intresultSetTypeThe result set type.protected java.util.ArrayListrowDataCached row data for forward only result set.protected introwPtrIndex of current row in rowData.protected introwsInResultThe number of rows in the result.protected JtdsStatementstatementThe parent statement.protected booleanwasNullTrue if last column retrieved was null.
-
Constructor Summary
Constructors Constructor Description JtdsResultSet(JtdsStatement statement, int resultSetType, int concurrency, ColInfo[] columns)Construct a simple result set from a statement, metadata or generated keys.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanabsolute(int row)voidafterLast()voidbeforeFirst()protected voidcacheResultSetRows()Cache the remaining results to free up connection.voidcancelRowUpdates()protected voidcheckOpen()Check that this connection is still open.protected voidcheckScrollable()Check that this resultset is scrollable.protected voidcheckUpdateable()Check that this resultset is updateable.voidclearWarnings()voidclose()protected ColInfo[]copyInfo(ColInfo[] info)Copy an existing result set column descriptor array.protected java.lang.Object[]copyRow(java.lang.Object[] row)Copy an existing result set row.voiddeleteRow()intfindColumn(java.lang.String columnName)booleanfirst()java.sql.ArraygetArray(int columnIndex)java.sql.ArraygetArray(java.lang.String columnName)java.io.InputStreamgetAsciiStream(int columnIndex)java.io.InputStreamgetAsciiStream(java.lang.String columnName)java.math.BigDecimalgetBigDecimal(int columnIndex)java.math.BigDecimalgetBigDecimal(int columnIndex, int scale)java.math.BigDecimalgetBigDecimal(java.lang.String columnName)java.math.BigDecimalgetBigDecimal(java.lang.String columnName, int scale)java.io.InputStreamgetBinaryStream(int columnIndex)java.io.InputStreamgetBinaryStream(java.lang.String columnName)java.sql.BlobgetBlob(int columnIndex)java.sql.BlobgetBlob(java.lang.String columnName)booleangetBoolean(int columnIndex)booleangetBoolean(java.lang.String columnName)bytegetByte(int columnIndex)bytegetByte(java.lang.String columnName)byte[]getBytes(int columnIndex)byte[]getBytes(java.lang.String columnName)java.io.ReadergetCharacterStream(int columnIndex)java.io.ReadergetCharacterStream(java.lang.String columnName)java.sql.ClobgetClob(int columnIndex)java.sql.ClobgetClob(java.lang.String columnName)protected java.lang.ObjectgetColumn(int index)Get the specified column's data item.protected static intgetColumnCount(ColInfo[] columns)Retrieve the column count excluding hidden columnsprotected ColInfo[]getColumns()Retrieve the column descriptor array.intgetConcurrency()private JtdsConnectiongetConnection()Returns theJtdsConnectionobject referenced by thestatementinstance variable.protected java.lang.Object[]getCurrentRow()Retrieve the current row data.java.lang.StringgetCursorName()java.sql.DategetDate(int columnIndex)java.sql.DategetDate(int columnIndex, java.util.Calendar cal)java.sql.DategetDate(java.lang.String columnName)java.sql.DategetDate(java.lang.String columnName, java.util.Calendar cal)doublegetDouble(int columnIndex)doublegetDouble(java.lang.String columnName)intgetFetchDirection()intgetFetchSize()floatgetFloat(int columnIndex)floatgetFloat(java.lang.String columnName)intgetHoldability()intgetInt(int columnIndex)intgetInt(java.lang.String columnName)longgetLong(int columnIndex)longgetLong(java.lang.String columnName)java.sql.ResultSetMetaDatagetMetaData()java.io.ReadergetNCharacterStream(int columnIndex)java.io.ReadergetNCharacterStream(java.lang.String columnLabel)java.sql.NClobgetNClob(int columnIndex)java.sql.NClobgetNClob(java.lang.String columnLabel)java.lang.StringgetNString(int columnIndex)java.lang.StringgetNString(java.lang.String columnLabel)java.lang.ObjectgetObject(int columnIndex)<T> TgetObject(int columnIndex, java.lang.Class<T> type)java.lang.ObjectgetObject(int columnIndex, java.util.Map map)java.lang.ObjectgetObject(java.lang.String columnName)<T> TgetObject(java.lang.String columnLabel, java.lang.Class<T> type)java.lang.ObjectgetObject(java.lang.String columnName, java.util.Map map)java.sql.RefgetRef(int columnIndex)java.sql.RefgetRef(java.lang.String columnName)intgetRow()java.sql.RowIdgetRowId(int columnIndex)java.sql.RowIdgetRowId(java.lang.String columnLabel)shortgetShort(int columnIndex)shortgetShort(java.lang.String columnName)java.sql.SQLXMLgetSQLXML(int columnIndex)java.sql.SQLXMLgetSQLXML(java.lang.String columnLabel)java.sql.StatementgetStatement()java.lang.StringgetString(int columnIndex)java.lang.StringgetString(java.lang.String columnName)java.sql.TimegetTime(int columnIndex)java.sql.TimegetTime(int columnIndex, java.util.Calendar cal)java.sql.TimegetTime(java.lang.String columnName)java.sql.TimegetTime(java.lang.String columnName, java.util.Calendar cal)java.sql.TimestampgetTimestamp(int columnIndex)java.sql.TimestampgetTimestamp(int columnIndex, java.util.Calendar cal)java.sql.TimestampgetTimestamp(java.lang.String columnName)java.sql.TimestampgetTimestamp(java.lang.String columnName, java.util.Calendar cal)intgetType()java.io.InputStreamgetUnicodeStream(int columnIndex)java.io.InputStreamgetUnicodeStream(java.lang.String columnName)java.net.URLgetURL(int columnIndex)java.net.URLgetURL(java.lang.String columnName)java.sql.SQLWarninggetWarnings()voidinsertRow()booleanisAfterLast()booleanisBeforeFirst()booleanisClosed()Retrieves whether thisResultSetobject has been closed.booleanisFirst()booleanisLast()booleanisWrapperFor(java.lang.Class arg0)booleanlast()voidmoveToCurrentRow()voidmoveToInsertRow()protected java.lang.Object[]newRow()Create a new row containing empty data items.booleannext()protected static voidnotImplemented(java.lang.String method)Report that user tried to call a method which has not been implemented.booleanprevious()voidrefreshRow()booleanrelative(int row)booleanrowDeleted()booleanrowInserted()booleanrowUpdated()protected voidsetColLabel(int colIndex, java.lang.String name)Set the specified column's label.protected voidsetColName(int colIndex, java.lang.String name)Set the specified column's name.protected voidsetColType(int colIndex, int jdbcType)Set the specified column's JDBC type.protected voidsetColumnCount(int columnCount)Set the current row's column count.protected java.lang.ObjectsetColValue(int colIndex, int jdbcType, java.lang.Object value, int length)Set the specified column's data value.voidsetFetchDirection(int direction)voidsetFetchSize(int rows)java.lang.Objectunwrap(java.lang.Class arg0)voidupdateArray(int columnIndex, java.sql.Array x)voidupdateArray(java.lang.String columnName, java.sql.Array x)voidupdateAsciiStream(int columnIndex, java.io.InputStream x)voidupdateAsciiStream(int columnIndex, java.io.InputStream inputStream, int length)voidupdateAsciiStream(int columnIndex, java.io.InputStream x, long length)voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)voidupdateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length)voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length)voidupdateBigDecimal(int columnIndex, java.math.BigDecimal x)voidupdateBigDecimal(java.lang.String columnName, java.math.BigDecimal x)voidupdateBinaryStream(int columnIndex, java.io.InputStream x)voidupdateBinaryStream(int columnIndex, java.io.InputStream inputStream, int length)voidupdateBinaryStream(int columnIndex, java.io.InputStream x, long length)voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x)voidupdateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length)voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length)voidupdateBlob(int columnIndex, java.io.InputStream inputStream)voidupdateBlob(int columnIndex, java.io.InputStream inputStream, long length)voidupdateBlob(int columnIndex, java.sql.Blob x)voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length)voidupdateBlob(java.lang.String columnName, java.sql.Blob x)voidupdateBoolean(int columnIndex, boolean x)voidupdateBoolean(java.lang.String columnName, boolean x)voidupdateByte(int columnIndex, byte x)voidupdateByte(java.lang.String columnName, byte x)voidupdateBytes(int columnIndex, byte[] x)voidupdateBytes(java.lang.String columnName, byte[] x)voidupdateCharacterStream(int columnIndex, java.io.Reader x)voidupdateCharacterStream(int columnIndex, java.io.Reader reader, int length)voidupdateCharacterStream(int columnIndex, java.io.Reader x, long length)voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)voidupdateCharacterStream(java.lang.String columnName, java.io.Reader x, int length)voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateClob(int columnIndex, java.io.Reader reader)voidupdateClob(int columnIndex, java.io.Reader reader, long length)voidupdateClob(int columnIndex, java.sql.Clob x)voidupdateClob(java.lang.String columnLabel, java.io.Reader reader)voidupdateClob(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateClob(java.lang.String columnName, java.sql.Clob x)voidupdateDate(int columnIndex, java.sql.Date x)voidupdateDate(java.lang.String columnName, java.sql.Date x)voidupdateDouble(int columnIndex, double x)voidupdateDouble(java.lang.String columnName, double x)voidupdateFloat(int columnIndex, float x)voidupdateFloat(java.lang.String columnName, float x)voidupdateInt(int columnIndex, int x)voidupdateInt(java.lang.String columnName, int x)voidupdateLong(int columnIndex, long x)voidupdateLong(java.lang.String columnName, long x)voidupdateNCharacterStream(int columnIndex, java.io.Reader x)voidupdateNCharacterStream(int columnIndex, java.io.Reader x, long length)voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateNClob(int columnIndex, java.io.Reader reader)voidupdateNClob(int columnIndex, java.io.Reader reader, long length)voidupdateNClob(int columnIndex, java.sql.NClob clob)voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader)voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateNClob(java.lang.String columnLabel, java.sql.NClob clob)voidupdateNString(int columnIndex, java.lang.String string)voidupdateNString(java.lang.String columnLabel, java.lang.String string)voidupdateNull(int columnIndex)voidupdateNull(java.lang.String columnName)voidupdateObject(int columnIndex, java.lang.Object x)voidupdateObject(int columnIndex, java.lang.Object x, int scale)voidupdateObject(java.lang.String columnName, java.lang.Object x)voidupdateObject(java.lang.String columnName, java.lang.Object x, int scale)voidupdateRef(int columnIndex, java.sql.Ref x)voidupdateRef(java.lang.String columnName, java.sql.Ref x)voidupdateRow()voidupdateRowId(int columnIndex, java.sql.RowId x)voidupdateRowId(java.lang.String columnLabel, java.sql.RowId x)voidupdateShort(int columnIndex, short x)voidupdateShort(java.lang.String columnName, short x)voidupdateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)voidupdateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject)voidupdateString(int columnIndex, java.lang.String x)voidupdateString(java.lang.String columnName, java.lang.String x)voidupdateTime(int columnIndex, java.sql.Time x)voidupdateTime(java.lang.String columnName, java.sql.Time x)voidupdateTimestamp(int columnIndex, java.sql.Timestamp x)voidupdateTimestamp(java.lang.String columnName, java.sql.Timestamp x)booleanwasNull()
-
-
-
Field Detail
-
HOLD_CURSORS_OVER_COMMIT
static final int HOLD_CURSORS_OVER_COMMIT
- See Also:
- Constant Field Values
-
CLOSE_CURSORS_AT_COMMIT
static final int CLOSE_CURSORS_AT_COMMIT
- See Also:
- Constant Field Values
-
POS_BEFORE_FIRST
protected static final int POS_BEFORE_FIRST
- See Also:
- Constant Field Values
-
POS_AFTER_LAST
protected static final int POS_AFTER_LAST
- See Also:
- Constant Field Values
-
INITIAL_ROW_COUNT
protected static final int INITIAL_ROW_COUNT
Initial size for row array.- See Also:
- Constant Field Values
-
pos
protected int pos
The current row number.
-
rowsInResult
protected int rowsInResult
The number of rows in the result.
-
direction
protected int direction
The fetch direction.
-
resultSetType
protected int resultSetType
The result set type.
-
concurrency
protected int concurrency
The result set concurrency.
-
columnCount
protected int columnCount
Number of visible columns in row.
-
columns
protected ColInfo[] columns
The array of column descriptors.
-
currentRow
protected java.lang.Object[] currentRow
The current result set row.
-
rowData
protected java.util.ArrayList rowData
Cached row data for forward only result set.
-
rowPtr
protected int rowPtr
Index of current row in rowData.
-
wasNull
protected boolean wasNull
True if last column retrieved was null.
-
statement
protected JtdsStatement statement
The parent statement.
-
closed
protected boolean closed
True if this result set is closed.
-
cancelled
protected boolean cancelled
True if the query has been cancelled by another thread.
-
fetchDirection
protected int fetchDirection
The fetch direction.
-
fetchSize
protected int fetchSize
The fetch size (only applies to cursorResultSets).
-
cursorName
protected java.lang.String cursorName
The cursor name to be used for positioned updates.
-
columnMap
private java.util.HashMap columnMap
Cache to optimize findColumn(String) lookups
-
f
private static java.text.NumberFormat f
Used to format numeric values when scale is specified.
-
-
Constructor Detail
-
JtdsResultSet
JtdsResultSet(JtdsStatement statement, int resultSetType, int concurrency, ColInfo[] columns) throws java.sql.SQLException
Construct a simple result set from a statement, metadata or generated keys.- Parameters:
statement- The parent statement object or null.resultSetType- one of FORWARD_ONLY, SCROLL_INSENSITIVE, SCROLL_SENSITIVE.concurrency- One of CONCUR_READ_ONLY, CONCUR_UPDATE.columns- The array of column descriptors for the result set row.- Throws:
java.sql.SQLException
-
-
Method Detail
-
getColumnCount
protected static int getColumnCount(ColInfo[] columns)
Retrieve the column count excluding hidden columns- Parameters:
columns- The columns array- Returns:
- The new column count as an
int.
-
getColumns
protected ColInfo[] getColumns()
Retrieve the column descriptor array.- Returns:
- The column descriptors as a
ColInfo[].
-
setColName
protected void setColName(int colIndex, java.lang.String name)Set the specified column's name.- Parameters:
colIndex- The index of the column in the row.name- The new name.
-
setColLabel
protected void setColLabel(int colIndex, java.lang.String name)Set the specified column's label.- Parameters:
colIndex- The index of the column in the row.name- The new label.
-
setColType
protected void setColType(int colIndex, int jdbcType)Set the specified column's JDBC type.- Parameters:
colIndex- The index of the column in the row.jdbcType- The new type value.
-
setColValue
protected java.lang.Object setColValue(int colIndex, int jdbcType, java.lang.Object value, int length) throws java.sql.SQLExceptionSet the specified column's data value.- Parameters:
colIndex- index of the columnvalue- new column valuelength- the length of a stream parameter- Returns:
- the value, possibly converted to an internal type
- Throws:
java.sql.SQLException
-
setColumnCount
protected void setColumnCount(int columnCount)
Set the current row's column count.- Parameters:
columnCount- The number of visible columns in the row.
-
getColumn
protected java.lang.Object getColumn(int index) throws java.sql.SQLExceptionGet the specified column's data item.- Parameters:
index- the column index in the row- Returns:
- the column value as an
Object - Throws:
java.sql.SQLException- if the connection is closed; ifindexis less than1; ifindexis greater that the number of columns; if there is no current row
-
checkOpen
protected void checkOpen() throws java.sql.SQLExceptionCheck that this connection is still open.- Throws:
java.sql.SQLException- if connection closed.
-
checkScrollable
protected void checkScrollable() throws java.sql.SQLExceptionCheck that this resultset is scrollable.- Throws:
java.sql.SQLException- if connection closed.
-
checkUpdateable
protected void checkUpdateable() throws java.sql.SQLExceptionCheck that this resultset is updateable.- Throws:
java.sql.SQLException- if connection closed.
-
notImplemented
protected static void notImplemented(java.lang.String method) throws java.sql.SQLExceptionReport that user tried to call a method which has not been implemented.- Parameters:
method- The method name to report in the error message.- Throws:
java.sql.SQLException
-
newRow
protected java.lang.Object[] newRow()
Create a new row containing empty data items.- Returns:
- the new row as an
Objectarray
-
copyRow
protected java.lang.Object[] copyRow(java.lang.Object[] row)
Copy an existing result set row.- Parameters:
row- the result set row to copy- Returns:
- the new row as an
Objectarray
-
copyInfo
protected ColInfo[] copyInfo(ColInfo[] info)
Copy an existing result set column descriptor array.- Parameters:
info- The result set column descriptors to copy.- Returns:
- The new descriptors as a
ColInfo[].
-
getCurrentRow
protected java.lang.Object[] getCurrentRow()
Retrieve the current row data.- Returns:
- The current row data as an
Object[].
-
cacheResultSetRows
protected void cacheResultSetRows() throws java.sql.SQLExceptionCache the remaining results to free up connection.- Throws:
java.sql.SQLException
-
getConnection
private JtdsConnection getConnection() throws java.sql.SQLException
Returns theJtdsConnectionobject referenced by thestatementinstance variable.- Returns:
JtdsConnectionobject.- Throws:
java.sql.SQLException- on error.
-
getConcurrency
public int getConcurrency() throws java.sql.SQLException- Specified by:
getConcurrencyin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFetchDirection
public int getFetchDirection() throws java.sql.SQLException- Specified by:
getFetchDirectionin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFetchSize
public int getFetchSize() throws java.sql.SQLException- Specified by:
getFetchSizein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRow
public int getRow() throws java.sql.SQLException- Specified by:
getRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getType
public int getType() throws java.sql.SQLException- Specified by:
getTypein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
afterLast
public void afterLast() throws java.sql.SQLException- Specified by:
afterLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
beforeFirst
public void beforeFirst() throws java.sql.SQLException- Specified by:
beforeFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
cancelRowUpdates
public void cancelRowUpdates() throws java.sql.SQLException- Specified by:
cancelRowUpdatesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
clearWarnings
public void clearWarnings() throws java.sql.SQLException- Specified by:
clearWarningsin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isClosed
public boolean isClosed()
Retrieves whether thisResultSetobject has been closed. AResultSetis closed if the method close has been called on it, or if it is automatically closed.- Specified by:
isClosedin interfacejava.sql.ResultSet- Returns:
- true if this
ResultSetobject is closed; false if it is still open
-
close
public void close() throws java.sql.SQLException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
deleteRow
public void deleteRow() throws java.sql.SQLException- Specified by:
deleteRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
insertRow
public void insertRow() throws java.sql.SQLException- Specified by:
insertRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
moveToCurrentRow
public void moveToCurrentRow() throws java.sql.SQLException- Specified by:
moveToCurrentRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
moveToInsertRow
public void moveToInsertRow() throws java.sql.SQLException- Specified by:
moveToInsertRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
refreshRow
public void refreshRow() throws java.sql.SQLException- Specified by:
refreshRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRow
public void updateRow() throws java.sql.SQLException- Specified by:
updateRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
first
public boolean first() throws java.sql.SQLException- Specified by:
firstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isAfterLast
public boolean isAfterLast() throws java.sql.SQLException- Specified by:
isAfterLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isBeforeFirst
public boolean isBeforeFirst() throws java.sql.SQLException- Specified by:
isBeforeFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isFirst
public boolean isFirst() throws java.sql.SQLException- Specified by:
isFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isLast
public boolean isLast() throws java.sql.SQLException- Specified by:
isLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
last
public boolean last() throws java.sql.SQLException- Specified by:
lastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
next
public boolean next() throws java.sql.SQLException- Specified by:
nextin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
previous
public boolean previous() throws java.sql.SQLException- Specified by:
previousin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowDeleted
public boolean rowDeleted() throws java.sql.SQLException- Specified by:
rowDeletedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowInserted
public boolean rowInserted() throws java.sql.SQLException- Specified by:
rowInsertedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowUpdated
public boolean rowUpdated() throws java.sql.SQLException- Specified by:
rowUpdatedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
wasNull
public boolean wasNull() throws java.sql.SQLException- Specified by:
wasNullin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getByte
public byte getByte(int columnIndex) throws java.sql.SQLException- Specified by:
getBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getShort
public short getShort(int columnIndex) throws java.sql.SQLException- Specified by:
getShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getInt
public int getInt(int columnIndex) throws java.sql.SQLException- Specified by:
getIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getLong
public long getLong(int columnIndex) throws java.sql.SQLException- Specified by:
getLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFloat
public float getFloat(int columnIndex) throws java.sql.SQLException- Specified by:
getFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDouble
public double getDouble(int columnIndex) throws java.sql.SQLException- Specified by:
getDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setFetchDirection
public void setFetchDirection(int direction) throws java.sql.SQLException- Specified by:
setFetchDirectionin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setFetchSize
public void setFetchSize(int rows) throws java.sql.SQLException- Specified by:
setFetchSizein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNull
public void updateNull(int columnIndex) throws java.sql.SQLException- Specified by:
updateNullin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
absolute
public boolean absolute(int row) throws java.sql.SQLException- Specified by:
absolutein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBoolean
public boolean getBoolean(int columnIndex) throws java.sql.SQLException- Specified by:
getBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
relative
public boolean relative(int row) throws java.sql.SQLException- Specified by:
relativein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBytes
public byte[] getBytes(int columnIndex) throws java.sql.SQLException- Specified by:
getBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(int columnIndex, byte x) throws java.sql.SQLException- Specified by:
updateBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(int columnIndex, double x) throws java.sql.SQLException- Specified by:
updateDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(int columnIndex, float x) throws java.sql.SQLException- Specified by:
updateFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(int columnIndex, int x) throws java.sql.SQLException- Specified by:
updateIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(int columnIndex, long x) throws java.sql.SQLException- Specified by:
updateLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(int columnIndex, short x) throws java.sql.SQLException- Specified by:
updateShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(int columnIndex, boolean x) throws java.sql.SQLException- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(int columnIndex, byte[] x) throws java.sql.SQLException- Specified by:
updateBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getAsciiStream
public java.io.InputStream getAsciiStream(int columnIndex) throws java.sql.SQLException- Specified by:
getAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBinaryStream
public java.io.InputStream getBinaryStream(int columnIndex) throws java.sql.SQLException- Specified by:
getBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getUnicodeStream
public java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLException- Specified by:
getUnicodeStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream, int length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream, int length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream(int columnIndex) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader reader, int length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(int columnIndex) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x, int scale) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCursorName
public java.lang.String getCursorName() throws java.sql.SQLException- Specified by:
getCursorNamein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getString
public java.lang.String getString(int columnIndex) throws java.sql.SQLException- Specified by:
getStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateString
public void updateString(int columnIndex, java.lang.String x) throws java.sql.SQLException- Specified by:
updateStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getByte
public byte getByte(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDouble
public double getDouble(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFloat
public float getFloat(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
findColumn
public int findColumn(java.lang.String columnName) throws java.sql.SQLException- Specified by:
findColumnin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getInt
public int getInt(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getLong
public long getLong(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getShort
public short getShort(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNull
public void updateNull(java.lang.String columnName) throws java.sql.SQLException- Specified by:
updateNullin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBoolean
public boolean getBoolean(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBytes
public byte[] getBytes(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(java.lang.String columnName, byte x) throws java.sql.SQLException- Specified by:
updateBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(java.lang.String columnName, double x) throws java.sql.SQLException- Specified by:
updateDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(java.lang.String columnName, float x) throws java.sql.SQLException- Specified by:
updateFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(java.lang.String columnName, int x) throws java.sql.SQLException- Specified by:
updateIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(java.lang.String columnName, long x) throws java.sql.SQLException- Specified by:
updateLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(java.lang.String columnName, short x) throws java.sql.SQLException- Specified by:
updateShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(java.lang.String columnName, boolean x) throws java.sql.SQLException- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(java.lang.String columnName, byte[] x) throws java.sql.SQLException- Specified by:
updateBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(int columnIndex, java.math.BigDecimal x) throws java.sql.SQLException- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getURL
public java.net.URL getURL(int columnIndex) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getArray
public java.sql.Array getArray(int columnIndex) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(int columnIndex, java.sql.Array x) throws java.sql.SQLException- Specified by:
updateArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBlob
public java.sql.Blob getBlob(int columnIndex) throws java.sql.SQLException- Specified by:
getBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.sql.Blob x) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getClob
public java.sql.Clob getClob(int columnIndex) throws java.sql.SQLException- Specified by:
getClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.sql.Clob x) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(int columnIndex) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(int columnIndex, java.sql.Date x) throws java.sql.SQLException- Specified by:
updateDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRef
public java.sql.Ref getRef(int columnIndex) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(int columnIndex, java.sql.Ref x) throws java.sql.SQLException- Specified by:
updateRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getMetaData
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException- Specified by:
getMetaDatain interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getWarnings
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException- Specified by:
getWarningsin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getStatement
public java.sql.Statement getStatement() throws java.sql.SQLException- Specified by:
getStatementin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(int columnIndex) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(int columnIndex, java.sql.Time x) throws java.sql.SQLException- Specified by:
updateTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws java.sql.SQLException- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getAsciiStream
public java.io.InputStream getAsciiStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBinaryStream
public java.io.InputStream getBinaryStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getUnicodeStream
public java.io.InputStream getUnicodeStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getUnicodeStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnName, java.io.Reader x, int length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object x) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object x, int scale) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(int columnIndex, java.util.Map map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getString
public java.lang.String getString(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateString
public void updateString(java.lang.String columnName, java.lang.String x) throws java.sql.SQLException- Specified by:
updateStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x) throws java.sql.SQLException- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getURL
public java.net.URL getURL(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getArray
public java.sql.Array getArray(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(java.lang.String columnName, java.sql.Array x) throws java.sql.SQLException- Specified by:
updateArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBlob
public java.sql.Blob getBlob(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnName, java.sql.Blob x) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getClob
public java.sql.Clob getClob(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnName, java.sql.Clob x) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(java.lang.String columnName, java.sql.Date x) throws java.sql.SQLException- Specified by:
updateDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRef
public java.sql.Ref getRef(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(java.lang.String columnName, java.sql.Ref x) throws java.sql.SQLException- Specified by:
updateRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(java.lang.String columnName, java.sql.Time x) throws java.sql.SQLException- Specified by:
updateTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x) throws java.sql.SQLException- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(java.lang.String columnName, java.util.Map map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getHoldability
public int getHoldability() throws java.sql.SQLException- Specified by:
getHoldabilityin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNCharacterStream
public java.io.Reader getNCharacterStream(int columnIndex) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNCharacterStream
public java.io.Reader getNCharacterStream(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNClob
public java.sql.NClob getNClob(int columnIndex) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNClob
public java.sql.NClob getNClob(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNString
public java.lang.String getNString(int columnIndex) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNString
public java.lang.String getNString(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRowId
public java.sql.RowId getRowId(int columnIndex) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRowId
public java.sql.RowId getRowId(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(int columnIndex) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.sql.NClob clob) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.sql.NClob clob) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(int columnIndex, java.lang.String string) throws java.sql.SQLException- Specified by:
updateNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(java.lang.String columnLabel, java.lang.String string) throws java.sql.SQLException- Specified by:
updateNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(int columnIndex, java.sql.RowId x) throws java.sql.SQLException- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(java.lang.String columnLabel, java.sql.RowId x) throws java.sql.SQLException- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class arg0) throws java.sql.SQLException- Specified by:
isWrapperForin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
unwrap
public java.lang.Object unwrap(java.lang.Class arg0) throws java.sql.SQLException- Specified by:
unwrapin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
getObject
public <T> T getObject(int columnIndex, java.lang.Class<T> type) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public <T> T getObject(java.lang.String columnLabel, java.lang.Class<T> type) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
-