com.mockrunner.mock.jdbc
Class MockResultSet

java.lang.Object
  extended by com.mockrunner.mock.jdbc.MockResultSet
All Implemented Interfaces:
java.lang.Cloneable, java.sql.ResultSet, java.sql.Wrapper

public class MockResultSet
extends java.lang.Object
implements java.sql.ResultSet, java.lang.Cloneable

Mock implementation of ResultSet. Can be used to add simulated database entries. You can add Java objects of any type. This mock implementation does not care about SQL data types. It tries to perform the necessary type conversions for the Java objects (e.g. it will convert a String "1" to int 1). Please check out the documentation of ResultSet for the description of the methods in this interface. The additional methods are described here.


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
MockResultSet(java.lang.String id)
           
MockResultSet(java.lang.String id, java.lang.String cursorName)
           
 
Method Summary
 boolean absolute(int row)
           
 void addColumn()
          Adds a column to the simulated database table.
 void addColumn(java.util.List values)
          Adds a column to the simulated database table.
 void addColumn(java.lang.Object[] values)
          Adds a column to the simulated database table.
 void addColumn(java.lang.String columnName)
          Adds a column to the simulated database table.
 void addColumn(java.lang.String columnName, java.util.List values)
          Adds a column to the simulated database table.
 void addColumn(java.lang.String columnName, java.lang.Object[] values)
          Adds a column to the simulated database table.
 void addRow(java.util.List values)
          Adds a row to the simulated database table.
 void addRow(java.lang.Object[] values)
          Adds a row to the simulated database table.
 void afterLast()
           
 void beforeFirst()
           
 void cancelRowUpdates()
           
 void clearWarnings()
           
 java.lang.Object clone()
          Copies this ResultSet.
 void close()
           
 void deleteRow()
           
 int findColumn(java.lang.String columnName)
           
 boolean first()
           
 java.sql.Array getArray(int columnIndex)
           
 java.sql.Array getArray(java.lang.String columnName)
           
 java.io.InputStream getAsciiStream(int columnIndex)
           
 java.io.InputStream getAsciiStream(java.lang.String columnName)
           
 java.math.BigDecimal getBigDecimal(int columnIndex)
           
 java.math.BigDecimal getBigDecimal(int columnIndex, int scale)
           
 java.math.BigDecimal getBigDecimal(java.lang.String columnName)
           
 java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale)
           
 java.io.InputStream getBinaryStream(int columnIndex)
           
 java.io.InputStream getBinaryStream(java.lang.String columnName)
           
 java.sql.Blob getBlob(int columnIndex)
           
 java.sql.Blob getBlob(java.lang.String columnName)
           
 boolean getBoolean(int columnIndex)
           
 boolean getBoolean(java.lang.String columnName)
           
 byte getByte(int columnIndex)
           
 byte getByte(java.lang.String columnName)
           
 byte[] getBytes(int columnIndex)
           
 byte[] getBytes(java.lang.String columnName)
           
 java.io.Reader getCharacterStream(int columnIndex)
           
 java.io.Reader getCharacterStream(java.lang.String columnName)
           
 java.sql.Clob getClob(int columnIndex)
           
 java.sql.Clob getClob(java.lang.String columnName)
           
 java.util.List getColumn(int number)
          Returns the column with the specified number.
 java.util.List getColumn(java.lang.String name)
          Returns the column with the specified name.
 int getColumnCount()
          Returns the current number of columns.
 int getConcurrency()
           
 java.lang.String getCursorName()
           
 java.sql.Date getDate(int columnIndex)
           
 java.sql.Date getDate(int columnIndex, java.util.Calendar calendar)
           
 java.sql.Date getDate(java.lang.String columnName)
           
 java.sql.Date getDate(java.lang.String columnName, java.util.Calendar calendar)
           
 double getDouble(int columnIndex)
           
 double getDouble(java.lang.String columnName)
           
 int getFetchDirection()
           
 int getFetchSize()
           
 float getFloat(int columnIndex)
           
 float getFloat(java.lang.String columnName)
           
 int getHoldability()
           
 java.lang.String getId()
          Returns the id of this ResultSet.
 int getInt(int columnIndex)
           
 int getInt(java.lang.String columnName)
           
 long getLong(int columnIndex)
           
 long getLong(java.lang.String columnName)
           
 java.sql.ResultSetMetaData getMetaData()
           
 java.io.Reader getNCharacterStream(int columnIndex)
           
 java.io.Reader getNCharacterStream(java.lang.String columnLabel)
           
 java.sql.NClob getNClob(int columnIndex)
           
 java.sql.NClob getNClob(java.lang.String columnName)
           
 java.lang.String getNString(int columnIndex)
           
 java.lang.String getNString(java.lang.String columnLabel)
           
 java.lang.Object getObject(int columnIndex)
           
 java.lang.Object getObject(int columnIndex, java.util.Map map)
           
 java.lang.Object getObject(java.lang.String columnName)
           
 java.lang.Object getObject(java.lang.String colName, java.util.Map map)
           
 java.sql.Ref getRef(int columnIndex)
           
 java.sql.Ref getRef(java.lang.String columnName)
           
 int getRow()
           
 java.util.List getRow(int number)
          Returns the row with the specified number.
 int getRowCount()
          Returns the current number of rows.
 java.sql.RowId getRowId(int columnIndex)
           
 java.sql.RowId getRowId(java.lang.String columnName)
           
 short getShort(int columnIndex)
           
 short getShort(java.lang.String columnName)
           
 java.sql.SQLXML getSQLXML(int columnIndex)
           
 java.sql.SQLXML getSQLXML(java.lang.String columnName)
           
 java.sql.Statement getStatement()
           
 java.lang.String getString(int columnIndex)
           
 java.lang.String getString(java.lang.String columnName)
           
 java.sql.Time getTime(int columnIndex)
           
 java.sql.Time getTime(int columnIndex, java.util.Calendar calendar)
           
 java.sql.Time getTime(java.lang.String columnName)
           
 java.sql.Time getTime(java.lang.String columnName, java.util.Calendar calendar)
           
 java.sql.Timestamp getTimestamp(int columnIndex)
           
 java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar calendar)
           
 java.sql.Timestamp getTimestamp(java.lang.String columnName)
           
 java.sql.Timestamp getTimestamp(java.lang.String columnName, java.util.Calendar calendar)
           
 int getType()
           
 java.io.InputStream getUnicodeStream(int columnIndex)
           
 java.io.InputStream getUnicodeStream(java.lang.String columnName)
           
 java.net.URL getURL(int columnIndex)
           
 java.net.URL getURL(java.lang.String columnName)
           
 java.sql.SQLWarning getWarnings()
           
 void insertRow()
           
 boolean isAfterLast()
           
 boolean isBeforeFirst()
           
 boolean isClosed()
          Returns if this ResultSet is closed.
 boolean isColumnEqual(int number, java.util.List columnData)
          Returns if the column with the specified number is equal to the specified data.
 boolean isColumnEqual(java.lang.String name, java.util.List columnData)
          Returns if the column with the specified name is equal to the specified data.
 boolean isEqual(MockResultSet resultSet)
          Returns if the specified ResultSet is equal to this ResultSet.
 boolean isFirst()
           
 boolean isLast()
           
 boolean isRowEqual(int number, java.util.List rowData)
          Returns if the row with the specified number is equal to the specified data.
 boolean isWrapperFor(java.lang.Class iface)
           
 boolean last()
           
 void moveToCurrentRow()
           
 void moveToInsertRow()
           
 boolean next()
           
 boolean previous()
           
 void refreshRow()
           
 boolean relative(int rows)
           
 boolean rowDeleted()
           
 boolean rowDeleted(int number)
          Returns if the row with the specified number was deleted The first row has the number 1.
 boolean rowInserted()
           
 boolean rowInserted(int number)
          Returns if the row with the specified number was inserted The first row has the number 1.
 boolean rowUpdated()
           
 boolean rowUpdated(int number)
          Returns if the row with the specified number was updated The first row has the number 1.
 void setColumnsCaseSensitive(boolean columnsCaseSensitive)
          Set if column names are case sensitive.
 void setCursorName(java.lang.String cursorName)
          Sets the cursor name.
 void setDatabaseView(boolean databaseView)
          The MockResultSet keeps the data that's stored in the simulated database and a copy of the data that represents the current ResultSet data.
 void setFetchDirection(int fetchDirection)
           
 void setFetchSize(int fetchSize)
           
 void setResultSetConcurrency(int resultSetConcurrency)
          Sets the result set concurrency.
 void setResultSetHoldability(int resultSetHoldability)
          Sets the result set holdability.
 void setResultSetMetaData(java.sql.ResultSetMetaData resultSetMetaData)
          Sets the ResultSetMetaData for this ResultSet.
 void setResultSetType(int resultSetType)
          Sets the result set type.
 void setStatement(java.sql.Statement statement)
          Sets the Statement for this ResultSet.
 java.lang.String toString()
           
 java.lang.Object unwrap(java.lang.Class iface)
           
 void updateArray(int columnIndex, java.sql.Array array)
           
 void updateArray(java.lang.String columnName, java.sql.Array array)
           
 void updateAsciiStream(int columnIndex, java.io.InputStream stream)
           
 void updateAsciiStream(int columnIndex, java.io.InputStream stream, int length)
           
 void updateAsciiStream(int columnIndex, java.io.InputStream stream, long length)
           
 void updateAsciiStream(java.lang.String columnName, java.io.InputStream stream)
           
 void updateAsciiStream(java.lang.String columnName, java.io.InputStream stream, int length)
           
 void updateAsciiStream(java.lang.String columnName, java.io.InputStream stream, long length)
           
 void updateBigDecimal(int columnIndex, java.math.BigDecimal bigDecimal)
           
 void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal bigDecimal)
           
 void updateBinaryStream(int columnIndex, java.io.InputStream stream)
           
 void updateBinaryStream(int columnIndex, java.io.InputStream stream, int length)
           
 void updateBinaryStream(int columnIndex, java.io.InputStream stream, long length)
           
 void updateBinaryStream(java.lang.String columnName, java.io.InputStream stream)
           
 void updateBinaryStream(java.lang.String columnName, java.io.InputStream stream, int length)
           
 void updateBinaryStream(java.lang.String columnName, java.io.InputStream stream, long length)
           
 void updateBlob(int columnIndex, java.sql.Blob blob)
           
 void updateBlob(int columnIndex, java.io.InputStream stream)
           
 void updateBlob(int columnIndex, java.io.InputStream stream, long length)
           
 void updateBlob(java.lang.String columnName, java.sql.Blob blob)
           
 void updateBlob(java.lang.String columnName, java.io.InputStream stream)
           
 void updateBlob(java.lang.String columnName, java.io.InputStream stream, long length)
           
 void updateBoolean(int columnIndex, boolean booleanValue)
           
 void updateBoolean(java.lang.String columnName, boolean booleanValue)
           
 void updateByte(int columnIndex, byte byteValue)
           
 void updateByte(java.lang.String columnName, byte byteValue)
           
 void updateBytes(int columnIndex, byte[] byteArray)
           
 void updateBytes(java.lang.String columnName, byte[] byteArray)
           
 void updateCharacterStream(int columnIndex, java.io.Reader reader)
           
 void updateCharacterStream(int columnIndex, java.io.Reader reader, int length)
           
 void updateCharacterStream(int columnIndex, java.io.Reader reader, long length)
           
 void updateCharacterStream(java.lang.String columnName, java.io.Reader reader)
           
 void updateCharacterStream(java.lang.String columnName, java.io.Reader reader, int length)
           
 void updateCharacterStream(java.lang.String columnName, java.io.Reader reader, long length)
           
 void updateClob(int columnIndex, java.sql.Clob clob)
           
 void updateClob(int columnIndex, java.io.Reader reader)
           
 void updateClob(int columnIndex, java.io.Reader reader, long length)
           
 void updateClob(java.lang.String columnName, java.sql.Clob clob)
           
 void updateClob(java.lang.String columnName, java.io.Reader reader)
           
 void updateClob(java.lang.String columnName, java.io.Reader reader, long length)
           
 void updateDate(int columnIndex, java.sql.Date date)
           
 void updateDate(java.lang.String columnName, java.sql.Date date)
           
 void updateDouble(int columnIndex, double doubleValue)
           
 void updateDouble(java.lang.String columnName, double doubleValue)
           
 void updateFloat(int columnIndex, float floatValue)
           
 void updateFloat(java.lang.String columnName, float floatValue)
           
 void updateInt(int columnIndex, int intValue)
           
 void updateInt(java.lang.String columnName, int intValue)
           
 void updateLong(int columnIndex, long longValue)
           
 void updateLong(java.lang.String columnName, long longValue)
           
 void updateNCharacterStream(int columnIndex, java.io.Reader reader)
           
 void updateNCharacterStream(int columnIndex, java.io.Reader reader, long length)
           
 void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)
           
 void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)
           
 void updateNClob(int columnIndex, java.sql.NClob nClob)
           
 void updateNClob(int columnIndex, java.io.Reader reader)
           
 void updateNClob(int columnIndex, java.io.Reader reader, long length)
           
 void updateNClob(java.lang.String columnName, java.sql.NClob nClob)
           
 void updateNClob(java.lang.String columnName, java.io.Reader reader)
           
 void updateNClob(java.lang.String columnName, java.io.Reader reader, long length)
           
 void updateNString(int columnIndex, java.lang.String value)
           
 void updateNString(java.lang.String columnLabel, java.lang.String value)
           
 void updateNull(int columnIndex)
           
 void updateNull(java.lang.String columnName)
           
 void updateObject(int columnIndex, java.lang.Object value)
           
 void updateObject(int columnIndex, java.lang.Object value, int scale)
           
 void updateObject(java.lang.String columnName, java.lang.Object value)
           
 void updateObject(java.lang.String columnName, java.lang.Object value, int scale)
           
 void updateRef(int columnIndex, java.sql.Ref ref)
           
 void updateRef(java.lang.String columnName, java.sql.Ref ref)
           
 void updateRow()
           
 void updateRowId(int columnIndex, java.sql.RowId rowId)
           
 void updateRowId(java.lang.String columnName, java.sql.RowId rowId)
           
 void updateShort(int columnIndex, short shortValue)
           
 void updateShort(java.lang.String columnName, short shortValue)
           
 void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)
           
 void updateSQLXML(java.lang.String columnName, java.sql.SQLXML xmlObject)
           
 void updateString(int columnIndex, java.lang.String value)
           
 void updateString(java.lang.String columnName, java.lang.String value)
           
 void updateTime(int columnIndex, java.sql.Time time)
           
 void updateTime(java.lang.String columnName, java.sql.Time time)
           
 void updateTimestamp(int columnIndex, java.sql.Timestamp timeStamp)
           
 void updateTimestamp(java.lang.String columnName, java.sql.Timestamp timeStamp)
           
 boolean wasNull()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockResultSet

public MockResultSet(java.lang.String id)

MockResultSet

public MockResultSet(java.lang.String id,
                     java.lang.String cursorName)
Method Detail

setColumnsCaseSensitive

public void setColumnsCaseSensitive(boolean columnsCaseSensitive)
Set if column names are case sensitive. Default is false. Please note, that switching this attribute clears and resets the complete ResultSet.

Parameters:
columnsCaseSensitive - are column names case sensitive

clone

public java.lang.Object clone()
Copies this ResultSet. The data of the ResultSet is copied using the ParameterUtil.copyParameter(java.lang.Object) method.

Overrides:
clone in class java.lang.Object
Returns:
a copy of this ResultSet

getId

public java.lang.String getId()
Returns the id of this ResultSet. Ids are used to identify ResultSet objects in tests, because they are usually cloned when executing statements, so you cannot rely on the object identity.

Returns:
the id of this ResultSet

isClosed

public boolean isClosed()
Returns if this ResultSet is closed.

Specified by:
isClosed in interface java.sql.ResultSet
Returns:
true if this ResultSet is closed, false otherwise

setResultSetMetaData

public void setResultSetMetaData(java.sql.ResultSetMetaData resultSetMetaData)
Sets the ResultSetMetaData for this ResultSet. The specified object will be returned when calling getMetaData(). If no ResultSetMetaData is set, the method getMetaData() will return an object of MockResultSetMetaData. The MockResultSetMetaData returns default values for most of its attributes (however the correct number of columns will be returned). Usually you do not have to set the ResultSetMetaData.

Parameters:
resultSetMetaData - the ResultSetMetaData

setStatement

public void setStatement(java.sql.Statement statement)
Sets the Statement for this ResultSet. The ResultSet takes the result set type, result set concurrency and the fetch direction from the specified Statement.

Parameters:
statement - the statement

setCursorName

public void setCursorName(java.lang.String cursorName)
Sets the cursor name. It's not possible to set this in a real ResultSet.

Parameters:
cursorName - the cursor name

setResultSetType

public void setResultSetType(int resultSetType)
Sets the result set type. It's not possible to set this in a real ResultSet, but in tests it can make sense to change it.

Parameters:
resultSetType - the result set type

setResultSetConcurrency

public void setResultSetConcurrency(int resultSetConcurrency)
Sets the result set concurrency. It's not possible to set this in a real ResultSet, but in tests it can make sense to change it.

Parameters:
resultSetConcurrency - the result set concurrency

setResultSetHoldability

public void setResultSetHoldability(int resultSetHoldability)
Sets the result set holdability. It's not possible to set this in a real ResultSet, but in tests it can make sense to change it.

Parameters:
resultSetHoldability - the result set holdability

setDatabaseView

public void setDatabaseView(boolean databaseView)
The MockResultSet keeps the data that's stored in the simulated database and a copy of the data that represents the current ResultSet data. The update methods only update the ResultSet data. This data will be persisted when you call updateRow(). When you set databaseView to true the get methods will return the data in the database, otherwise the current ResultSet data is returned.

Parameters:
databaseView - false = get the data from the ResultSet, true = get the data from the database, default is false

addRow

public void addRow(java.lang.Object[] values)
Adds a row to the simulated database table. If there are not enough columns (initially there are no columns, you have to specify them with the addColumn methods) the missing columns will be added automatically. Automatically created columns will get the name ColumnX where X is the column index.

Parameters:
values - the row data as array, the array index corresponds to the column index, i.e. values[0] will be stored in the first column and so on

addRow

public void addRow(java.util.List values)
Adds a row to the simulated database table. If there are not enough columns (initially there are no columns, you have to specify them with the addColumn methods) the missing columns will be added automatically. Automatically created columns will get the name ColumnX where X is the column index.

Parameters:
values - the row data as List, the index in the List corresponds to the column index, i.e. values.get(0) will be stored in the first column and so on

addColumn

public void addColumn()
Adds a column to the simulated database table. The column will get the name ColumnX where X is the column index. The first added column will have the name Column1. No data will be stored in the column.


addColumn

public void addColumn(java.lang.String columnName)
Adds a column to the simulated database table. The column will get the specified name. No data will be stored in the column.

Parameters:
columnName - the column name

addColumn

public void addColumn(java.lang.Object[] values)
Adds a column to the simulated database table. The column will get the name ColumnX where X is the column index. The specified data will be stored in the new column. If there are other columns with not enough rows, the other columns will be extended and filled with null values.

Parameters:
values - the column data as array, the array index corresponds to the row index, i.e. values[0] will be stored in the first row and so on

addColumn

public void addColumn(java.util.List values)
Adds a column to the simulated database table. The column will get the name ColumnX where X is the column index. The specified data will be stored in the new column. If there are other columns with not enough rows, the other columns will be extended and filled with null values.

Parameters:
values - the column data as List, the index in the List corresponds to the row index, i.e. values.get(0) will be stored in the first row and so on

addColumn

public void addColumn(java.lang.String columnName,
                      java.lang.Object[] values)
Adds a column to the simulated database table. The column will get the specified name. The specified data will be stored in the new column. If there are other columns with not enough rows, the other columns will be extended and filled with null values.

Parameters:
columnName - the column name
values - the column data as array, the array index corresponds to the row index, i.e. values[0] will be stored in the first row and so on

addColumn

public void addColumn(java.lang.String columnName,
                      java.util.List values)
Adds a column to the simulated database table. The column will get the specified name. The specified data will be stored in the new column. If there are other columns with not enough rows, the other columns will be extended and filled with null values.

Parameters:
columnName - the column name
values - the column data as List, the index in the List corresponds to the row index, i.e. values.get(0) will be stored in the first row and so on

getRowCount

public int getRowCount()
Returns the current number of rows.

Returns:
the number of rows

getColumnCount

public int getColumnCount()
Returns the current number of columns.

Returns:
the number of columns

rowInserted

public boolean rowInserted(int number)
Returns if the row with the specified number was inserted The first row has the number 1.

Parameters:
number - the number of the row
Returns:
true if the row was inserted, false otherwise

rowDeleted

public boolean rowDeleted(int number)
Returns if the row with the specified number was deleted The first row has the number 1.

Parameters:
number - the number of the row
Returns:
true if the row was deleted, false otherwise

rowUpdated

public boolean rowUpdated(int number)
Returns if the row with the specified number was updated The first row has the number 1.

Parameters:
number - the number of the row
Returns:
true if the row was updated, false otherwise

isRowEqual

public boolean isRowEqual(int number,
                          java.util.List rowData)
Returns if the row with the specified number is equal to the specified data. Uses ParameterUtil.compareParameter(java.lang.Object, java.lang.Object). The first row has the number 1. If the compared parameters are not of the same type (and cannot be equal according to the ParameterUtil.compareParameter(java.lang.Object, java.lang.Object) method) they will be converted to a string with the toString() method before comparison.

Parameters:
number - the number of the row
rowData - the row data
Returns:
true if the row is equal to the specified data, false otherwise

isColumnEqual

public boolean isColumnEqual(int number,
                             java.util.List columnData)
Returns if the column with the specified number is equal to the specified data. Uses ParameterUtil.compareParameter(java.lang.Object, java.lang.Object). The first column has the number 1. If the compared parameters are not of the same type (and cannot be equal according to the ParameterUtil.compareParameter(java.lang.Object, java.lang.Object) method) they will be converted to a string with the toString() method before comparison.

Parameters:
number - the number of the column
columnData - the column data
Returns:
true if the column is equal to the specified data, false otherwise

isColumnEqual

public boolean isColumnEqual(java.lang.String name,
                             java.util.List columnData)
Returns if the column with the specified name is equal to the specified data. Uses ParameterUtil.compareParameter(java.lang.Object, java.lang.Object). The first column has the number 1. If the compared parameters are not of the same type (and cannot be equal according to the ParameterUtil.compareParameter(java.lang.Object, java.lang.Object) method) they will be converted to a string with the toString() method before comparison.

Parameters:
name - the name of the column
columnData - the column data
Returns:
true if the column is equal to the specified data, false otherwise

isEqual

public boolean isEqual(MockResultSet resultSet)
Returns if the specified ResultSet is equal to this ResultSet. If the compared parameters are not of the same type (and cannot be equal according to the ParameterUtil.compareParameter(java.lang.Object, java.lang.Object) method) they will be converted to a string with the toString() method before comparison.

Returns:
true if the two ResultSet objects are equal, false otherwise

getRow

public java.util.List getRow(int number)
Returns the row with the specified number. The first row has the number 1. If number is less than 1 or higher than the current row count, null will be returned. The result of this method depends on the setting of databaseView. See setDatabaseView(boolean).

Parameters:
number - the number of the row
Returns:
the row data as List

getColumn

public java.util.List getColumn(int number)
Returns the column with the specified number. The first column has the number 1. If number is less than 1 or higher than the current column count, null will be returned.

Parameters:
number - the number of the column
Returns:
the column data as List

getColumn

public java.util.List getColumn(java.lang.String name)
Returns the column with the specified name. If a column with that name does not exist, null will be returned.

Parameters:
name - the name of the column
Returns:
the column data as List

close

public void close()
           throws java.sql.SQLException
Specified by:
close in interface java.sql.ResultSet
Throws:
java.sql.SQLException

wasNull

public boolean wasNull()
                throws java.sql.SQLException
Specified by:
wasNull in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(int columnIndex)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(java.lang.String columnName)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(int columnIndex,
                                  java.util.Map map)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(java.lang.String colName,
                                  java.util.Map map)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getString

public java.lang.String getString(int columnIndex)
                           throws java.sql.SQLException
Specified by:
getString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getString

public java.lang.String getString(java.lang.String columnName)
                           throws java.sql.SQLException
Specified by:
getString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNString

public java.lang.String getNString(int columnIndex)
                            throws java.sql.SQLException
Specified by:
getNString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNString

public java.lang.String getNString(java.lang.String columnLabel)
                            throws java.sql.SQLException
Specified by:
getNString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBoolean

public boolean getBoolean(int columnIndex)
                   throws java.sql.SQLException
Specified by:
getBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBoolean

public boolean getBoolean(java.lang.String columnName)
                   throws java.sql.SQLException
Specified by:
getBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getByte

public byte getByte(int columnIndex)
             throws java.sql.SQLException
Specified by:
getByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getByte

public byte getByte(java.lang.String columnName)
             throws java.sql.SQLException
Specified by:
getByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getShort

public short getShort(int columnIndex)
               throws java.sql.SQLException
Specified by:
getShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getShort

public short getShort(java.lang.String columnName)
               throws java.sql.SQLException
Specified by:
getShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getInt

public int getInt(int columnIndex)
           throws java.sql.SQLException
Specified by:
getInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getInt

public int getInt(java.lang.String columnName)
           throws java.sql.SQLException
Specified by:
getInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getLong

public long getLong(int columnIndex)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getLong

public long getLong(java.lang.String columnName)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getFloat

public float getFloat(int columnIndex)
               throws java.sql.SQLException
Specified by:
getFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getFloat

public float getFloat(java.lang.String columnName)
               throws java.sql.SQLException
Specified by:
getFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDouble

public double getDouble(int columnIndex)
                 throws java.sql.SQLException
Specified by:
getDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDouble

public double getDouble(java.lang.String columnName)
                 throws java.sql.SQLException
Specified by:
getDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(int columnIndex,
                                          int scale)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
                                          int scale)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(int columnIndex)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBytes

public byte[] getBytes(int columnIndex)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBytes

public byte[] getBytes(java.lang.String columnName)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(int columnIndex)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(java.lang.String columnName)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(int columnIndex,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(java.lang.String columnName,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(int columnIndex)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(java.lang.String columnName)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(int columnIndex,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(java.lang.String columnName,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int columnIndex)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String columnName)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int columnIndex,
                                       java.util.Calendar calendar)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String columnName,
                                       java.util.Calendar calendar)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getURL

public java.net.URL getURL(int columnIndex)
                    throws java.sql.SQLException
Specified by:
getURL in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getURL

public java.net.URL getURL(java.lang.String columnName)
                    throws java.sql.SQLException
Specified by:
getURL in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBlob

public java.sql.Blob getBlob(int columnIndex)
                      throws java.sql.SQLException
Specified by:
getBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBlob

public java.sql.Blob getBlob(java.lang.String columnName)
                      throws java.sql.SQLException
Specified by:
getBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getClob

public java.sql.Clob getClob(int columnIndex)
                      throws java.sql.SQLException
Specified by:
getClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getClob

public java.sql.Clob getClob(java.lang.String columnName)
                      throws java.sql.SQLException
Specified by:
getClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNClob

public java.sql.NClob getNClob(int columnIndex)
                        throws java.sql.SQLException
Specified by:
getNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNClob

public java.sql.NClob getNClob(java.lang.String columnName)
                        throws java.sql.SQLException
Specified by:
getNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getSQLXML

public java.sql.SQLXML getSQLXML(int columnIndex)
                          throws java.sql.SQLException
Specified by:
getSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getSQLXML

public java.sql.SQLXML getSQLXML(java.lang.String columnName)
                          throws java.sql.SQLException
Specified by:
getSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getArray

public java.sql.Array getArray(int columnIndex)
                        throws java.sql.SQLException
Specified by:
getArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getArray

public java.sql.Array getArray(java.lang.String columnName)
                        throws java.sql.SQLException
Specified by:
getArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRef

public java.sql.Ref getRef(int columnIndex)
                    throws java.sql.SQLException
Specified by:
getRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRef

public java.sql.Ref getRef(java.lang.String columnName)
                    throws java.sql.SQLException
Specified by:
getRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRowId

public java.sql.RowId getRowId(int columnIndex)
                        throws java.sql.SQLException
Specified by:
getRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRowId

public java.sql.RowId getRowId(java.lang.String columnName)
                        throws java.sql.SQLException
Specified by:
getRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getAsciiStream

public java.io.InputStream getAsciiStream(int columnIndex)
                                   throws java.sql.SQLException
Specified by:
getAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getAsciiStream

public java.io.InputStream getAsciiStream(java.lang.String columnName)
                                   throws java.sql.SQLException
Specified by:
getAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBinaryStream

public java.io.InputStream getBinaryStream(int columnIndex)
                                    throws java.sql.SQLException
Specified by:
getBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBinaryStream

public java.io.InputStream getBinaryStream(java.lang.String columnName)
                                    throws java.sql.SQLException
Specified by:
getBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getUnicodeStream

public java.io.InputStream getUnicodeStream(int columnIndex)
                                     throws java.sql.SQLException
Specified by:
getUnicodeStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getUnicodeStream

public java.io.InputStream getUnicodeStream(java.lang.String columnName)
                                     throws java.sql.SQLException
Specified by:
getUnicodeStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getCharacterStream

public java.io.Reader getCharacterStream(int columnIndex)
                                  throws java.sql.SQLException
Specified by:
getCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getCharacterStream

public java.io.Reader getCharacterStream(java.lang.String columnName)
                                  throws java.sql.SQLException
Specified by:
getCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNCharacterStream

public java.io.Reader getNCharacterStream(int columnIndex)
                                   throws java.sql.SQLException
Specified by:
getNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNCharacterStream

public java.io.Reader getNCharacterStream(java.lang.String columnLabel)
                                   throws java.sql.SQLException
Specified by:
getNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
Specified by:
getWarnings in interface java.sql.ResultSet
Throws:
java.sql.SQLException

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
Specified by:
clearWarnings in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getCursorName

public java.lang.String getCursorName()
                               throws java.sql.SQLException
Specified by:
getCursorName in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getMetaData

public java.sql.ResultSetMetaData getMetaData()
                                       throws java.sql.SQLException
Specified by:
getMetaData in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getStatement

public java.sql.Statement getStatement()
                                throws java.sql.SQLException
Specified by:
getStatement in interface java.sql.ResultSet
Throws:
java.sql.SQLException

isBeforeFirst

public boolean isBeforeFirst()
                      throws java.sql.SQLException
Specified by:
isBeforeFirst in interface java.sql.ResultSet
Throws:
java.sql.SQLException

isAfterLast

public boolean isAfterLast()
                    throws java.sql.SQLException
Specified by:
isAfterLast in interface java.sql.ResultSet
Throws:
java.sql.SQLException

isFirst

public boolean isFirst()
                throws java.sql.SQLException
Specified by:
isFirst in interface java.sql.ResultSet
Throws:
java.sql.SQLException

isLast

public boolean isLast()
               throws java.sql.SQLException
Specified by:
isLast in interface java.sql.ResultSet
Throws:
java.sql.SQLException

beforeFirst

public void beforeFirst()
                 throws java.sql.SQLException
Specified by:
beforeFirst in interface java.sql.ResultSet
Throws:
java.sql.SQLException

afterLast

public void afterLast()
               throws java.sql.SQLException
Specified by:
afterLast in interface java.sql.ResultSet
Throws:
java.sql.SQLException

next

public boolean next()
             throws java.sql.SQLException
Specified by:
next in interface java.sql.ResultSet
Throws:
java.sql.SQLException

first

public boolean first()
              throws java.sql.SQLException
Specified by:
first in interface java.sql.ResultSet
Throws:
java.sql.SQLException

last

public boolean last()
             throws java.sql.SQLException
Specified by:
last in interface java.sql.ResultSet
Throws:
java.sql.SQLException

absolute

public boolean absolute(int row)
                 throws java.sql.SQLException
Specified by:
absolute in interface java.sql.ResultSet
Throws:
java.sql.SQLException

relative

public boolean relative(int rows)
                 throws java.sql.SQLException
Specified by:
relative in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRow

public int getRow()
           throws java.sql.SQLException
Specified by:
getRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

previous

public boolean previous()
                 throws java.sql.SQLException
Specified by:
previous in interface java.sql.ResultSet
Throws:
java.sql.SQLException

setFetchDirection

public void setFetchDirection(int fetchDirection)
                       throws java.sql.SQLException
Specified by:
setFetchDirection in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getFetchDirection

public int getFetchDirection()
                      throws java.sql.SQLException
Specified by:
getFetchDirection in interface java.sql.ResultSet
Throws:
java.sql.SQLException

setFetchSize

public void setFetchSize(int fetchSize)
                  throws java.sql.SQLException
Specified by:
setFetchSize in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getFetchSize

public int getFetchSize()
                 throws java.sql.SQLException
Specified by:
getFetchSize in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getType

public int getType()
            throws java.sql.SQLException
Specified by:
getType in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getConcurrency

public int getConcurrency()
                   throws java.sql.SQLException
Specified by:
getConcurrency in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getHoldability

public int getHoldability()
                   throws java.sql.SQLException
Specified by:
getHoldability in interface java.sql.ResultSet
Throws:
java.sql.SQLException

findColumn

public int findColumn(java.lang.String columnName)
               throws java.sql.SQLException
Specified by:
findColumn in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(int columnIndex,
                         java.lang.Object value)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(int columnIndex,
                         java.lang.Object value,
                         int scale)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(java.lang.String columnName,
                         java.lang.Object value,
                         int scale)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(java.lang.String columnName,
                         java.lang.Object value)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateString

public void updateString(int columnIndex,
                         java.lang.String value)
                  throws java.sql.SQLException
Specified by:
updateString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateString

public void updateString(java.lang.String columnName,
                         java.lang.String value)
                  throws java.sql.SQLException
Specified by:
updateString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNString

public void updateNString(int columnIndex,
                          java.lang.String value)
                   throws java.sql.SQLException
Specified by:
updateNString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNString

public void updateNString(java.lang.String columnLabel,
                          java.lang.String value)
                   throws java.sql.SQLException
Specified by:
updateNString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNull

public void updateNull(int columnIndex)
                throws java.sql.SQLException
Specified by:
updateNull in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNull

public void updateNull(java.lang.String columnName)
                throws java.sql.SQLException
Specified by:
updateNull in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBoolean

public void updateBoolean(int columnIndex,
                          boolean booleanValue)
                   throws java.sql.SQLException
Specified by:
updateBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBoolean

public void updateBoolean(java.lang.String columnName,
                          boolean booleanValue)
                   throws java.sql.SQLException
Specified by:
updateBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateByte

public void updateByte(int columnIndex,
                       byte byteValue)
                throws java.sql.SQLException
Specified by:
updateByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateByte

public void updateByte(java.lang.String columnName,
                       byte byteValue)
                throws java.sql.SQLException
Specified by:
updateByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateShort

public void updateShort(int columnIndex,
                        short shortValue)
                 throws java.sql.SQLException
Specified by:
updateShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateShort

public void updateShort(java.lang.String columnName,
                        short shortValue)
                 throws java.sql.SQLException
Specified by:
updateShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateInt

public void updateInt(int columnIndex,
                      int intValue)
               throws java.sql.SQLException
Specified by:
updateInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateInt

public void updateInt(java.lang.String columnName,
                      int intValue)
               throws java.sql.SQLException
Specified by:
updateInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateLong

public void updateLong(int columnIndex,
                       long longValue)
                throws java.sql.SQLException
Specified by:
updateLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateLong

public void updateLong(java.lang.String columnName,
                       long longValue)
                throws java.sql.SQLException
Specified by:
updateLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateFloat

public void updateFloat(int columnIndex,
                        float floatValue)
                 throws java.sql.SQLException
Specified by:
updateFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateFloat

public void updateFloat(java.lang.String columnName,
                        float floatValue)
                 throws java.sql.SQLException
Specified by:
updateFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDouble

public void updateDouble(int columnIndex,
                         double doubleValue)
                  throws java.sql.SQLException
Specified by:
updateDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDouble

public void updateDouble(java.lang.String columnName,
                         double doubleValue)
                  throws java.sql.SQLException
Specified by:
updateDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBigDecimal

public void updateBigDecimal(int columnIndex,
                             java.math.BigDecimal bigDecimal)
                      throws java.sql.SQLException
Specified by:
updateBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBigDecimal

public void updateBigDecimal(java.lang.String columnName,
                             java.math.BigDecimal bigDecimal)
                      throws java.sql.SQLException
Specified by:
updateBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBytes

public void updateBytes(int columnIndex,
                        byte[] byteArray)
                 throws java.sql.SQLException
Specified by:
updateBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBytes

public void updateBytes(java.lang.String columnName,
                        byte[] byteArray)
                 throws java.sql.SQLException
Specified by:
updateBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDate

public void updateDate(int columnIndex,
                       java.sql.Date date)
                throws java.sql.SQLException
Specified by:
updateDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDate

public void updateDate(java.lang.String columnName,
                       java.sql.Date date)
                throws java.sql.SQLException
Specified by:
updateDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTime

public void updateTime(int columnIndex,
                       java.sql.Time time)
                throws java.sql.SQLException
Specified by:
updateTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTime

public void updateTime(java.lang.String columnName,
                       java.sql.Time time)
                throws java.sql.SQLException
Specified by:
updateTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTimestamp

public void updateTimestamp(int columnIndex,
                            java.sql.Timestamp timeStamp)
                     throws java.sql.SQLException
Specified by:
updateTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTimestamp

public void updateTimestamp(java.lang.String columnName,
                            java.sql.Timestamp timeStamp)
                     throws java.sql.SQLException
Specified by:
updateTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              java.io.InputStream stream,
                              int length)
                       throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(java.lang.String columnName,
                              java.io.InputStream stream,
                              int length)
                       throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              java.io.InputStream stream,
                              long length)
                       throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(java.lang.String columnName,
                              java.io.InputStream stream,
                              long length)
                       throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              java.io.InputStream stream)
                       throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(java.lang.String columnName,
                              java.io.InputStream stream)
                       throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               java.io.InputStream stream,
                               int length)
                        throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(java.lang.String columnName,
                               java.io.InputStream stream,
                               int length)
                        throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               java.io.InputStream stream,
                               long length)
                        throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(java.lang.String columnName,
                               java.io.InputStream stream,
                               long length)
                        throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               java.io.InputStream stream)
                        throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(java.lang.String columnName,
                               java.io.InputStream stream)
                        throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  java.io.Reader reader,
                                  int length)
                           throws java.sql.SQLException
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(java.lang.String columnName,
                                  java.io.Reader reader,
                                  int length)
                           throws java.sql.SQLException
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  java.io.Reader reader,
                                  long length)
                           throws java.sql.SQLException
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(java.lang.String columnName,
                                  java.io.Reader reader,
                                  long length)
                           throws java.sql.SQLException
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  java.io.Reader reader)
                           throws java.sql.SQLException
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(java.lang.String columnName,
                                  java.io.Reader reader)
                           throws java.sql.SQLException
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNCharacterStream

public void updateNCharacterStream(int columnIndex,
                                   java.io.Reader reader)
                            throws java.sql.SQLException
Specified by:
updateNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNCharacterStream

public void updateNCharacterStream(java.lang.String columnLabel,
                                   java.io.Reader reader)
                            throws java.sql.SQLException
Specified by:
updateNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNCharacterStream

public void updateNCharacterStream(int columnIndex,
                                   java.io.Reader reader,
                                   long length)
                            throws java.sql.SQLException
Specified by:
updateNCharacterStream in interface java.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:
updateNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRef

public void updateRef(int columnIndex,
                      java.sql.Ref ref)
               throws java.sql.SQLException
Specified by:
updateRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRef

public void updateRef(java.lang.String columnName,
                      java.sql.Ref ref)
               throws java.sql.SQLException
Specified by:
updateRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRowId

public void updateRowId(int columnIndex,
                        java.sql.RowId rowId)
                 throws java.sql.SQLException
Specified by:
updateRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRowId

public void updateRowId(java.lang.String columnName,
                        java.sql.RowId rowId)
                 throws java.sql.SQLException
Specified by:
updateRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(int columnIndex,
                       java.sql.Blob blob)
                throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(java.lang.String columnName,
                       java.sql.Blob blob)
                throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(int columnIndex,
                       java.io.InputStream stream,
                       long length)
                throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(java.lang.String columnName,
                       java.io.InputStream stream,
                       long length)
                throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(int columnIndex,
                       java.io.InputStream stream)
                throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(java.lang.String columnName,
                       java.io.InputStream stream)
                throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(int columnIndex,
                       java.sql.Clob clob)
                throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(java.lang.String columnName,
                       java.sql.Clob clob)
                throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(int columnIndex,
                       java.io.Reader reader,
                       long length)
                throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(java.lang.String columnName,
                       java.io.Reader reader,
                       long length)
                throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(int columnIndex,
                       java.io.Reader reader)
                throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(java.lang.String columnName,
                       java.io.Reader reader)
                throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(int columnIndex,
                        java.sql.NClob nClob)
                 throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(java.lang.String columnName,
                        java.sql.NClob nClob)
                 throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(int columnIndex,
                        java.io.Reader reader,
                        long length)
                 throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(java.lang.String columnName,
                        java.io.Reader reader,
                        long length)
                 throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(int columnIndex,
                        java.io.Reader reader)
                 throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(java.lang.String columnName,
                        java.io.Reader reader)
                 throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateSQLXML

public void updateSQLXML(int columnIndex,
                         java.sql.SQLXML xmlObject)
                  throws java.sql.SQLException
Specified by:
updateSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateSQLXML

public void updateSQLXML(java.lang.String columnName,
                         java.sql.SQLXML xmlObject)
                  throws java.sql.SQLException
Specified by:
updateSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateArray

public void updateArray(int columnIndex,
                        java.sql.Array array)
                 throws java.sql.SQLException
Specified by:
updateArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateArray

public void updateArray(java.lang.String columnName,
                        java.sql.Array array)
                 throws java.sql.SQLException
Specified by:
updateArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

rowUpdated

public boolean rowUpdated()
                   throws java.sql.SQLException
Specified by:
rowUpdated in interface java.sql.ResultSet
Throws:
java.sql.SQLException

rowInserted

public boolean rowInserted()
                    throws java.sql.SQLException
Specified by:
rowInserted in interface java.sql.ResultSet
Throws:
java.sql.SQLException

rowDeleted

public boolean rowDeleted()
                   throws java.sql.SQLException
Specified by:
rowDeleted in interface java.sql.ResultSet
Throws:
java.sql.SQLException

insertRow

public void insertRow()
               throws java.sql.SQLException
Specified by:
insertRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRow

public void updateRow()
               throws java.sql.SQLException
Specified by:
updateRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

deleteRow

public void deleteRow()
               throws java.sql.SQLException
Specified by:
deleteRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

refreshRow

public void refreshRow()
                throws java.sql.SQLException
Specified by:
refreshRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

cancelRowUpdates

public void cancelRowUpdates()
                      throws java.sql.SQLException
Specified by:
cancelRowUpdates in interface java.sql.ResultSet
Throws:
java.sql.SQLException

moveToInsertRow

public void moveToInsertRow()
                     throws java.sql.SQLException
Specified by:
moveToInsertRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

moveToCurrentRow

public void moveToCurrentRow()
                      throws java.sql.SQLException
Specified by:
moveToCurrentRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

isWrapperFor

public boolean isWrapperFor(java.lang.Class iface)
                     throws java.sql.SQLException
Specified by:
isWrapperFor in interface java.sql.Wrapper
Throws:
java.sql.SQLException

unwrap

public java.lang.Object unwrap(java.lang.Class iface)
                        throws java.sql.SQLException
Specified by:
unwrap in interface java.sql.Wrapper
Throws:
java.sql.SQLException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object