|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mockrunner.mock.jdbc.MockResultSet
public class MockResultSet
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 |
|---|
public MockResultSet(java.lang.String id)
public MockResultSet(java.lang.String id,
java.lang.String cursorName)
| Method Detail |
|---|
public void setColumnsCaseSensitive(boolean columnsCaseSensitive)
false. Please note, that switching this
attribute clears and resets the complete ResultSet.
columnsCaseSensitive - are column names case sensitivepublic java.lang.Object clone()
ResultSet. The data of the
ResultSet is copied using the
ParameterUtil.copyParameter(java.lang.Object)
method.
clone in class java.lang.ObjectResultSetpublic java.lang.String getId()
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.
ResultSetpublic boolean isClosed()
ResultSet is closed.
isClosed in interface java.sql.ResultSettrue if this ResultSet is closed,
false otherwisepublic void setResultSetMetaData(java.sql.ResultSetMetaData resultSetMetaData)
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.
resultSetMetaData - the ResultSetMetaDatapublic void setStatement(java.sql.Statement statement)
Statement for this ResultSet.
The ResultSet takes the result set type, result
set concurrency and the fetch direction from the specified
Statement.
statement - the statementpublic void setCursorName(java.lang.String cursorName)
ResultSet.
cursorName - the cursor namepublic void setResultSetType(int resultSetType)
ResultSet, but in tests
it can make sense to change it.
resultSetType - the result set typepublic void setResultSetConcurrency(int resultSetConcurrency)
ResultSet, but in tests
it can make sense to change it.
resultSetConcurrency - the result set concurrencypublic void setResultSetHoldability(int resultSetHoldability)
ResultSet, but in tests
it can make sense to change it.
resultSetHoldability - the result set holdabilitypublic void setDatabaseView(boolean databaseView)
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.
databaseView - false = get the data from the
ResultSet, true = get the data
from the database, default is falsepublic void addRow(java.lang.Object[] values)
addColumn methods) the missing columns will
be added automatically. Automatically created columns
will get the name ColumnX where X is
the column index.
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 onpublic void addRow(java.util.List values)
addColumn methods) the missing columns will
be added automatically. Automatically created columns
will get the name ColumnX where X is
the column index.
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 onpublic void addColumn()
public void addColumn(java.lang.String columnName)
columnName - the column namepublic void addColumn(java.lang.Object[] values)
null
values.
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 onpublic void addColumn(java.util.List values)
null
values.
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
public void addColumn(java.lang.String columnName,
java.lang.Object[] values)
null
values.
columnName - the column namevalues - 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
public void addColumn(java.lang.String columnName,
java.util.List values)
null
values.
columnName - the column namevalues - 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 onpublic int getRowCount()
public int getColumnCount()
public boolean rowInserted(int number)
number - the number of the row
true if the row was inserted,
false otherwisepublic boolean rowDeleted(int number)
number - the number of the row
true if the row was deleted,
false otherwisepublic boolean rowUpdated(int number)
number - the number of the row
true if the row was updated,
false otherwise
public boolean isRowEqual(int number,
java.util.List rowData)
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.
number - the number of the rowrowData - the row data
true if the row is equal to the specified data,
false otherwise
public boolean isColumnEqual(int number,
java.util.List columnData)
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.
number - the number of the columncolumnData - the column data
true if the column is equal to the specified data,
false otherwise
public boolean isColumnEqual(java.lang.String name,
java.util.List columnData)
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.
name - the name of the columncolumnData - the column data
true if the column is equal to the specified data,
false otherwisepublic boolean isEqual(MockResultSet resultSet)
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.
true if the two ResultSet objects are equal,
false otherwisepublic java.util.List getRow(int number)
null will
be returned. The result of this method depends
on the setting of databaseView.
See setDatabaseView(boolean).
number - the number of the row
Listpublic java.util.List getColumn(int number)
null will
be returned.
number - the number of the column
Listpublic java.util.List getColumn(java.lang.String name)
null will be returned.
name - the name of the column
List
public void close()
throws java.sql.SQLException
close in interface java.sql.ResultSetjava.sql.SQLException
public boolean wasNull()
throws java.sql.SQLException
wasNull in interface java.sql.ResultSetjava.sql.SQLException
public java.lang.Object getObject(int columnIndex)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLException
public java.lang.Object getObject(java.lang.String columnName)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLException
public java.lang.Object getObject(int columnIndex,
java.util.Map map)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLException
public java.lang.Object getObject(java.lang.String colName,
java.util.Map map)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLException
public java.lang.String getString(int columnIndex)
throws java.sql.SQLException
getString in interface java.sql.ResultSetjava.sql.SQLException
public java.lang.String getString(java.lang.String columnName)
throws java.sql.SQLException
getString in interface java.sql.ResultSetjava.sql.SQLException
public java.lang.String getNString(int columnIndex)
throws java.sql.SQLException
getNString in interface java.sql.ResultSetjava.sql.SQLException
public java.lang.String getNString(java.lang.String columnLabel)
throws java.sql.SQLException
getNString in interface java.sql.ResultSetjava.sql.SQLException
public boolean getBoolean(int columnIndex)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetjava.sql.SQLException
public boolean getBoolean(java.lang.String columnName)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetjava.sql.SQLException
public byte getByte(int columnIndex)
throws java.sql.SQLException
getByte in interface java.sql.ResultSetjava.sql.SQLException
public byte getByte(java.lang.String columnName)
throws java.sql.SQLException
getByte in interface java.sql.ResultSetjava.sql.SQLException
public short getShort(int columnIndex)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetjava.sql.SQLException
public short getShort(java.lang.String columnName)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetjava.sql.SQLException
public int getInt(int columnIndex)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetjava.sql.SQLException
public int getInt(java.lang.String columnName)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetjava.sql.SQLException
public long getLong(int columnIndex)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetjava.sql.SQLException
public long getLong(java.lang.String columnName)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetjava.sql.SQLException
public float getFloat(int columnIndex)
throws java.sql.SQLException
getFloat in interface java.sql.ResultSetjava.sql.SQLException
public float getFloat(java.lang.String columnName)
throws java.sql.SQLException
getFloat in interface java.sql.ResultSetjava.sql.SQLException
public double getDouble(int columnIndex)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetjava.sql.SQLException
public double getDouble(java.lang.String columnName)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetjava.sql.SQLException
public java.math.BigDecimal getBigDecimal(int columnIndex,
int scale)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLException
public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
int scale)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLException
public java.math.BigDecimal getBigDecimal(int columnIndex)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLException
public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLException
public byte[] getBytes(int columnIndex)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetjava.sql.SQLException
public byte[] getBytes(java.lang.String columnName)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Date getDate(int columnIndex)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Date getDate(java.lang.String columnName)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Date getDate(int columnIndex,
java.util.Calendar calendar)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Date getDate(java.lang.String columnName,
java.util.Calendar calendar)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Time getTime(int columnIndex)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Time getTime(java.lang.String columnName)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Time getTime(int columnIndex,
java.util.Calendar calendar)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Time getTime(java.lang.String columnName,
java.util.Calendar calendar)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Timestamp getTimestamp(int columnIndex)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Timestamp getTimestamp(java.lang.String columnName)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Timestamp getTimestamp(int columnIndex,
java.util.Calendar calendar)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Timestamp getTimestamp(java.lang.String columnName,
java.util.Calendar calendar)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLException
public java.net.URL getURL(int columnIndex)
throws java.sql.SQLException
getURL in interface java.sql.ResultSetjava.sql.SQLException
public java.net.URL getURL(java.lang.String columnName)
throws java.sql.SQLException
getURL in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Blob getBlob(int columnIndex)
throws java.sql.SQLException
getBlob in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Blob getBlob(java.lang.String columnName)
throws java.sql.SQLException
getBlob in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Clob getClob(int columnIndex)
throws java.sql.SQLException
getClob in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Clob getClob(java.lang.String columnName)
throws java.sql.SQLException
getClob in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.NClob getNClob(int columnIndex)
throws java.sql.SQLException
getNClob in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.NClob getNClob(java.lang.String columnName)
throws java.sql.SQLException
getNClob in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.SQLXML getSQLXML(int columnIndex)
throws java.sql.SQLException
getSQLXML in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.SQLXML getSQLXML(java.lang.String columnName)
throws java.sql.SQLException
getSQLXML in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Array getArray(int columnIndex)
throws java.sql.SQLException
getArray in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Array getArray(java.lang.String columnName)
throws java.sql.SQLException
getArray in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Ref getRef(int columnIndex)
throws java.sql.SQLException
getRef in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Ref getRef(java.lang.String columnName)
throws java.sql.SQLException
getRef in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.RowId getRowId(int columnIndex)
throws java.sql.SQLException
getRowId in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.RowId getRowId(java.lang.String columnName)
throws java.sql.SQLException
getRowId in interface java.sql.ResultSetjava.sql.SQLException
public java.io.InputStream getAsciiStream(int columnIndex)
throws java.sql.SQLException
getAsciiStream in interface java.sql.ResultSetjava.sql.SQLException
public java.io.InputStream getAsciiStream(java.lang.String columnName)
throws java.sql.SQLException
getAsciiStream in interface java.sql.ResultSetjava.sql.SQLException
public java.io.InputStream getBinaryStream(int columnIndex)
throws java.sql.SQLException
getBinaryStream in interface java.sql.ResultSetjava.sql.SQLException
public java.io.InputStream getBinaryStream(java.lang.String columnName)
throws java.sql.SQLException
getBinaryStream in interface java.sql.ResultSetjava.sql.SQLException
public java.io.InputStream getUnicodeStream(int columnIndex)
throws java.sql.SQLException
getUnicodeStream in interface java.sql.ResultSetjava.sql.SQLException
public java.io.InputStream getUnicodeStream(java.lang.String columnName)
throws java.sql.SQLException
getUnicodeStream in interface java.sql.ResultSetjava.sql.SQLException
public java.io.Reader getCharacterStream(int columnIndex)
throws java.sql.SQLException
getCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public java.io.Reader getCharacterStream(java.lang.String columnName)
throws java.sql.SQLException
getCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public java.io.Reader getNCharacterStream(int columnIndex)
throws java.sql.SQLException
getNCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public java.io.Reader getNCharacterStream(java.lang.String columnLabel)
throws java.sql.SQLException
getNCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
getWarnings in interface java.sql.ResultSetjava.sql.SQLException
public void clearWarnings()
throws java.sql.SQLException
clearWarnings in interface java.sql.ResultSetjava.sql.SQLException
public java.lang.String getCursorName()
throws java.sql.SQLException
getCursorName in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.ResultSetjava.sql.SQLException
public java.sql.Statement getStatement()
throws java.sql.SQLException
getStatement in interface java.sql.ResultSetjava.sql.SQLException
public boolean isBeforeFirst()
throws java.sql.SQLException
isBeforeFirst in interface java.sql.ResultSetjava.sql.SQLException
public boolean isAfterLast()
throws java.sql.SQLException
isAfterLast in interface java.sql.ResultSetjava.sql.SQLException
public boolean isFirst()
throws java.sql.SQLException
isFirst in interface java.sql.ResultSetjava.sql.SQLException
public boolean isLast()
throws java.sql.SQLException
isLast in interface java.sql.ResultSetjava.sql.SQLException
public void beforeFirst()
throws java.sql.SQLException
beforeFirst in interface java.sql.ResultSetjava.sql.SQLException
public void afterLast()
throws java.sql.SQLException
afterLast in interface java.sql.ResultSetjava.sql.SQLException
public boolean next()
throws java.sql.SQLException
next in interface java.sql.ResultSetjava.sql.SQLException
public boolean first()
throws java.sql.SQLException
first in interface java.sql.ResultSetjava.sql.SQLException
public boolean last()
throws java.sql.SQLException
last in interface java.sql.ResultSetjava.sql.SQLException
public boolean absolute(int row)
throws java.sql.SQLException
absolute in interface java.sql.ResultSetjava.sql.SQLException
public boolean relative(int rows)
throws java.sql.SQLException
relative in interface java.sql.ResultSetjava.sql.SQLException
public int getRow()
throws java.sql.SQLException
getRow in interface java.sql.ResultSetjava.sql.SQLException
public boolean previous()
throws java.sql.SQLException
previous in interface java.sql.ResultSetjava.sql.SQLException
public void setFetchDirection(int fetchDirection)
throws java.sql.SQLException
setFetchDirection in interface java.sql.ResultSetjava.sql.SQLException
public int getFetchDirection()
throws java.sql.SQLException
getFetchDirection in interface java.sql.ResultSetjava.sql.SQLException
public void setFetchSize(int fetchSize)
throws java.sql.SQLException
setFetchSize in interface java.sql.ResultSetjava.sql.SQLException
public int getFetchSize()
throws java.sql.SQLException
getFetchSize in interface java.sql.ResultSetjava.sql.SQLException
public int getType()
throws java.sql.SQLException
getType in interface java.sql.ResultSetjava.sql.SQLException
public int getConcurrency()
throws java.sql.SQLException
getConcurrency in interface java.sql.ResultSetjava.sql.SQLException
public int getHoldability()
throws java.sql.SQLException
getHoldability in interface java.sql.ResultSetjava.sql.SQLException
public int findColumn(java.lang.String columnName)
throws java.sql.SQLException
findColumn in interface java.sql.ResultSetjava.sql.SQLException
public void updateObject(int columnIndex,
java.lang.Object value)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLException
public void updateObject(int columnIndex,
java.lang.Object value,
int scale)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLException
public void updateObject(java.lang.String columnName,
java.lang.Object value,
int scale)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLException
public void updateObject(java.lang.String columnName,
java.lang.Object value)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLException
public void updateString(int columnIndex,
java.lang.String value)
throws java.sql.SQLException
updateString in interface java.sql.ResultSetjava.sql.SQLException
public void updateString(java.lang.String columnName,
java.lang.String value)
throws java.sql.SQLException
updateString in interface java.sql.ResultSetjava.sql.SQLException
public void updateNString(int columnIndex,
java.lang.String value)
throws java.sql.SQLException
updateNString in interface java.sql.ResultSetjava.sql.SQLException
public void updateNString(java.lang.String columnLabel,
java.lang.String value)
throws java.sql.SQLException
updateNString in interface java.sql.ResultSetjava.sql.SQLException
public void updateNull(int columnIndex)
throws java.sql.SQLException
updateNull in interface java.sql.ResultSetjava.sql.SQLException
public void updateNull(java.lang.String columnName)
throws java.sql.SQLException
updateNull in interface java.sql.ResultSetjava.sql.SQLException
public void updateBoolean(int columnIndex,
boolean booleanValue)
throws java.sql.SQLException
updateBoolean in interface java.sql.ResultSetjava.sql.SQLException
public void updateBoolean(java.lang.String columnName,
boolean booleanValue)
throws java.sql.SQLException
updateBoolean in interface java.sql.ResultSetjava.sql.SQLException
public void updateByte(int columnIndex,
byte byteValue)
throws java.sql.SQLException
updateByte in interface java.sql.ResultSetjava.sql.SQLException
public void updateByte(java.lang.String columnName,
byte byteValue)
throws java.sql.SQLException
updateByte in interface java.sql.ResultSetjava.sql.SQLException
public void updateShort(int columnIndex,
short shortValue)
throws java.sql.SQLException
updateShort in interface java.sql.ResultSetjava.sql.SQLException
public void updateShort(java.lang.String columnName,
short shortValue)
throws java.sql.SQLException
updateShort in interface java.sql.ResultSetjava.sql.SQLException
public void updateInt(int columnIndex,
int intValue)
throws java.sql.SQLException
updateInt in interface java.sql.ResultSetjava.sql.SQLException
public void updateInt(java.lang.String columnName,
int intValue)
throws java.sql.SQLException
updateInt in interface java.sql.ResultSetjava.sql.SQLException
public void updateLong(int columnIndex,
long longValue)
throws java.sql.SQLException
updateLong in interface java.sql.ResultSetjava.sql.SQLException
public void updateLong(java.lang.String columnName,
long longValue)
throws java.sql.SQLException
updateLong in interface java.sql.ResultSetjava.sql.SQLException
public void updateFloat(int columnIndex,
float floatValue)
throws java.sql.SQLException
updateFloat in interface java.sql.ResultSetjava.sql.SQLException
public void updateFloat(java.lang.String columnName,
float floatValue)
throws java.sql.SQLException
updateFloat in interface java.sql.ResultSetjava.sql.SQLException
public void updateDouble(int columnIndex,
double doubleValue)
throws java.sql.SQLException
updateDouble in interface java.sql.ResultSetjava.sql.SQLException
public void updateDouble(java.lang.String columnName,
double doubleValue)
throws java.sql.SQLException
updateDouble in interface java.sql.ResultSetjava.sql.SQLException
public void updateBigDecimal(int columnIndex,
java.math.BigDecimal bigDecimal)
throws java.sql.SQLException
updateBigDecimal in interface java.sql.ResultSetjava.sql.SQLException
public void updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal bigDecimal)
throws java.sql.SQLException
updateBigDecimal in interface java.sql.ResultSetjava.sql.SQLException
public void updateBytes(int columnIndex,
byte[] byteArray)
throws java.sql.SQLException
updateBytes in interface java.sql.ResultSetjava.sql.SQLException
public void updateBytes(java.lang.String columnName,
byte[] byteArray)
throws java.sql.SQLException
updateBytes in interface java.sql.ResultSetjava.sql.SQLException
public void updateDate(int columnIndex,
java.sql.Date date)
throws java.sql.SQLException
updateDate in interface java.sql.ResultSetjava.sql.SQLException
public void updateDate(java.lang.String columnName,
java.sql.Date date)
throws java.sql.SQLException
updateDate in interface java.sql.ResultSetjava.sql.SQLException
public void updateTime(int columnIndex,
java.sql.Time time)
throws java.sql.SQLException
updateTime in interface java.sql.ResultSetjava.sql.SQLException
public void updateTime(java.lang.String columnName,
java.sql.Time time)
throws java.sql.SQLException
updateTime in interface java.sql.ResultSetjava.sql.SQLException
public void updateTimestamp(int columnIndex,
java.sql.Timestamp timeStamp)
throws java.sql.SQLException
updateTimestamp in interface java.sql.ResultSetjava.sql.SQLException
public void updateTimestamp(java.lang.String columnName,
java.sql.Timestamp timeStamp)
throws java.sql.SQLException
updateTimestamp in interface java.sql.ResultSetjava.sql.SQLException
public void updateAsciiStream(int columnIndex,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateAsciiStream(java.lang.String columnName,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateAsciiStream(int columnIndex,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateAsciiStream(java.lang.String columnName,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateAsciiStream(int columnIndex,
java.io.InputStream stream)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateAsciiStream(java.lang.String columnName,
java.io.InputStream stream)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateBinaryStream(int columnIndex,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateBinaryStream(java.lang.String columnName,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateBinaryStream(int columnIndex,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateBinaryStream(java.lang.String columnName,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateBinaryStream(int columnIndex,
java.io.InputStream stream)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateBinaryStream(java.lang.String columnName,
java.io.InputStream stream)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateCharacterStream(int columnIndex,
java.io.Reader reader,
int length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateCharacterStream(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateCharacterStream(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateCharacterStream(java.lang.String columnName,
java.io.Reader reader)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateNCharacterStream(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateNCharacterStream(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLException
public void updateRef(int columnIndex,
java.sql.Ref ref)
throws java.sql.SQLException
updateRef in interface java.sql.ResultSetjava.sql.SQLException
public void updateRef(java.lang.String columnName,
java.sql.Ref ref)
throws java.sql.SQLException
updateRef in interface java.sql.ResultSetjava.sql.SQLException
public void updateRowId(int columnIndex,
java.sql.RowId rowId)
throws java.sql.SQLException
updateRowId in interface java.sql.ResultSetjava.sql.SQLException
public void updateRowId(java.lang.String columnName,
java.sql.RowId rowId)
throws java.sql.SQLException
updateRowId in interface java.sql.ResultSetjava.sql.SQLException
public void updateBlob(int columnIndex,
java.sql.Blob blob)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLException
public void updateBlob(java.lang.String columnName,
java.sql.Blob blob)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLException
public void updateBlob(int columnIndex,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLException
public void updateBlob(java.lang.String columnName,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLException
public void updateBlob(int columnIndex,
java.io.InputStream stream)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLException
public void updateBlob(java.lang.String columnName,
java.io.InputStream stream)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLException
public void updateClob(int columnIndex,
java.sql.Clob clob)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateClob(java.lang.String columnName,
java.sql.Clob clob)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateClob(java.lang.String columnName,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateClob(java.lang.String columnName,
java.io.Reader reader)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateNClob(int columnIndex,
java.sql.NClob nClob)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateNClob(java.lang.String columnName,
java.sql.NClob nClob)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateNClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateNClob(java.lang.String columnName,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateNClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateNClob(java.lang.String columnName,
java.io.Reader reader)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLException
public void updateSQLXML(int columnIndex,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
updateSQLXML in interface java.sql.ResultSetjava.sql.SQLException
public void updateSQLXML(java.lang.String columnName,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
updateSQLXML in interface java.sql.ResultSetjava.sql.SQLException
public void updateArray(int columnIndex,
java.sql.Array array)
throws java.sql.SQLException
updateArray in interface java.sql.ResultSetjava.sql.SQLException
public void updateArray(java.lang.String columnName,
java.sql.Array array)
throws java.sql.SQLException
updateArray in interface java.sql.ResultSetjava.sql.SQLException
public boolean rowUpdated()
throws java.sql.SQLException
rowUpdated in interface java.sql.ResultSetjava.sql.SQLException
public boolean rowInserted()
throws java.sql.SQLException
rowInserted in interface java.sql.ResultSetjava.sql.SQLException
public boolean rowDeleted()
throws java.sql.SQLException
rowDeleted in interface java.sql.ResultSetjava.sql.SQLException
public void insertRow()
throws java.sql.SQLException
insertRow in interface java.sql.ResultSetjava.sql.SQLException
public void updateRow()
throws java.sql.SQLException
updateRow in interface java.sql.ResultSetjava.sql.SQLException
public void deleteRow()
throws java.sql.SQLException
deleteRow in interface java.sql.ResultSetjava.sql.SQLException
public void refreshRow()
throws java.sql.SQLException
refreshRow in interface java.sql.ResultSetjava.sql.SQLException
public void cancelRowUpdates()
throws java.sql.SQLException
cancelRowUpdates in interface java.sql.ResultSetjava.sql.SQLException
public void moveToInsertRow()
throws java.sql.SQLException
moveToInsertRow in interface java.sql.ResultSetjava.sql.SQLException
public void moveToCurrentRow()
throws java.sql.SQLException
moveToCurrentRow in interface java.sql.ResultSetjava.sql.SQLException
public boolean isWrapperFor(java.lang.Class iface)
throws java.sql.SQLException
isWrapperFor in interface java.sql.Wrapperjava.sql.SQLException
public java.lang.Object unwrap(java.lang.Class iface)
throws java.sql.SQLException
unwrap in interface java.sql.Wrapperjava.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||