APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.rowset

public Class JdbcRowSetImpl

extends BaseRowSet
implements JdbcRowSet, Joinable
Class Inheritance
All Implemented Interfaces
javax.sql.rowset.Joinable, javax.sql.rowset.JdbcRowSet, javax.sql.RowSet, java.sql.ResultSet, java.lang.AutoCloseable, java.sql.Wrapper
Imports
java.sql.*, javax.sql.*, javax.naming.*, java.io.*, java.math.*, java.util.*, javax.sql.rowset.*

The standard implementation of the JdbcRowSet interface. See the interface definition for full behavior and implementation requirements.
Author
Jonathan Bruce, Amit Handa

Field Summary

Modifier and TypeField and Description
private Connection
conn

The Connection object that is this rowset's current connection to the database.

private Vector<Integer>
iMatchColumns

The Vector holding the Match Columns

private PreparedStatement
ps

The PreparedStatement object that is this rowset's current command.

protected transient JdbcRowSetResourceBundle
private ResultSetMetaData
resMD

The ResultSetMetaData object from which this RowSetMetaDataImpl is formed and which helps in getting the metadata information.

private RowSetMetaDataImpl
rowsMD

The RowSetMetaDataImpl object that is constructed when a ResultSet object is passed to the JdbcRowSet constructor.

private ResultSet
rs

The ResultSet object that is this rowset's current result set.

pack-priv static final long
private Vector<String>
strMatchColumns

The Vector that will hold the Match Column names.

Inherited from javax.sql.rowset.BaseRowSet:
ASCII_STREAM_PARAMasciiStreamBINARY_STREAM_PARAMbinaryStreamcharStreamUNICODE_STREAM_PARAMunicodeStream

Constructor Summary

AccessConstructor and Description
public
JdbcRowSetImpl()

Constructs a default JdbcRowSet object.

public
JdbcRowSetImpl(Connection con)

Constructs a default JdbcRowSet object given a valid Connection object.

public
JdbcRowSetImpl(String
a JDBC URL for the database to which this JdbcRowSet object will be connected. The form for a JDBC URL is jdbc:subprotocol:subname.
url
,
String
the database user on whose behalf the connection is being made
user
,
String
the user's password
password
)

Constructs a default JdbcRowSet object using the URL, username, and password arguments supplied.

public
JdbcRowSetImpl(ResultSet
a valid ResultSet object
res
)

Constructs a JdbcRowSet object using the given valid ResultSet object.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the cursor is on the result set; false otherwise
absolute
(int row)

Implements java.sql.ResultSet.absolute.

Moves the cursor to the given row number in this rowset's internal ResultSet object.

public void
afterLast()

Implements java.sql.ResultSet.afterLast.

Moves the cursor to the end of this rowset's ResultSet object, just after the last row.

public void
beforeFirst()

Implements java.sql.ResultSet.beforeFirst.

Moves the cursor to the front of this rowset's ResultSet object, just before the first row.

public void
cancelRowUpdates()

Implements java.sql.ResultSet.cancelRowUpdates.

Cancels the updates made to the current row in this ResultSet object and notifies listeners that a row has changed.

protected void
private void
public void
clearWarnings()

Implements java.sql.ResultSet.clearWarnings.

Clears all warnings reported on this rowset's ResultSet object.

public void
close()

Implements java.sql.ResultSet.close.

Releases this rowset's ResultSet object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.

public void
commit()

Implements javax.sql.rowset.JdbcRowSet.commit.

Commits all updates in this JdbcRowSet object by wrapping the internal Connection object and calling its commit method.

private Connection
private void
public void
deleteRow()

Implements java.sql.ResultSet.deleteRow.

Deletes the current row from this rowset's ResultSet object and from the underlying database and also notifies listeners that a row has changed.

public void
execute()

Implements javax.sql.RowSet.execute.

Creates the internal ResultSet object for which this JdbcRowSet object is a wrapper, effectively making the result set a JavaBeans component.

public int

Returns:

the column index of the given column name
findColumn
(String
the name of the column
columnName
)

Implements java.sql.ResultSet.findColumn.

Maps the given JdbcRowSetImpl column name to its JdbcRowSetImpl column index and reflects this on the internal ResultSet object.

public boolean

Returns:

true if the cursor is on a valid row; false if there are no rows in the result set
first
()

Implements java.sql.ResultSet.first.

Moves the cursor to the first row in this rowset's ResultSet object.

public Array

Returns:

an Array object representing the SQL ARRAY value in the specified column
getArray
(int
the first column is 1, the second is 2, and so on.
i
)

Implements java.sql.ResultSet.getArray.

Returns the value of the designated column in the current row of this rowset's ResultSet object as an Array object.

public Array

Returns:

an Array object representing the SQL ARRAY value in the specified column
getArray
(String
the name of the column from which to retrieve the value
colName
)

Implements java.sql.ResultSet.getArray.

Returns the value of the designated column in the current row of this rowset's ResultSet object as an Array object.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream of one-byte ASCII characters; if the value is SQL NULL, the value returned is null
getAsciiStream
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getAsciiStream.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of ASCII characters.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream of one-byte ASCII characters. If the value is SQL NULL, the value returned is null.
getAsciiStream
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getAsciiStream.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of ASCII characters.

public boolean

Returns:

true if auto commit is true; false otherwise
getAutoCommit
()

Implements javax.sql.rowset.JdbcRowSet.getAutoCommit.

Returns the auto-commit status with this JdbcRowSet.

public BigDecimal

Returns:

the column value; if the value is SQL NULL, the value returned is null
getBigDecimal
(int
the first column is 1, the second is 2, and so on
columnIndex
,
int
the number of digits to the right of the decimal point
scale
)

Implements java.sql.ResultSet.getBigDecimal.

Deprecated

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.BigDecimal.

public BigDecimal

Returns:

the column value; if the value is SQL NULL, the value returned is null
getBigDecimal
(String
the SQL name of the column
columnName
,
int
the number of digits to the right of the decimal point
scale
)

Implements java.sql.ResultSet.getBigDecimal.

Deprecated

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.math.BigDecimal.

public BigDecimal

Returns:

the column value (full precision); if the value is SQL NULL, the value returned is null.
getBigDecimal
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getBigDecimal.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.math.BigDecimal with full precision.

public BigDecimal

Returns:

the column value (full precision); if the value is SQL NULL, the value returned is null.
getBigDecimal
(String
the column name
columnName
)

Implements java.sql.ResultSet.getBigDecimal.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.math.BigDecimal with full precision.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream of uninterpreted bytes; if the value is SQL NULL, the value returned is null
getBinaryStream
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getBinaryStream.

Gets the value of a column in the current row as a stream of the value of the designated column in the current row of this rowset's ResultSet object as a binary stream of uninterpreted bytes.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream of uninterpreted bytes; if the value is SQL NULL, the result is null
getBinaryStream
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getBinaryStream.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of uninterpreted bytes.

public Blob

Returns:

a Blob object representing the SQL BLOB value in the specified column
getBlob
(int
the first column is 1, the second is 2, and so on
i
)

Implements java.sql.ResultSet.getBlob.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a Blob object.

public Blob

Returns:

a Blob object representing the SQL BLOB value in the specified column
getBlob
(String
the name of the column from which to retrieve the value
colName
)

Implements java.sql.ResultSet.getBlob.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a Blob object.

public boolean

Returns:

the column value; if the value is SQL NULL, the value returned is false
getBoolean
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getBoolean.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a boolean.

public boolean

Returns:

the column value; if the value is SQL NULL, the value returned is false
getBoolean
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getBoolean.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a boolean.

public byte

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getByte
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getByte.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte.

public byte

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getByte
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getByte.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte.

public byte[]

Returns:

the column value; if the value is SQL NULL, the value returned is null
getBytes
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getBytes.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte array in the Java programming language.

public byte[]

Returns:

the column value; if the value is SQL NULL, the value returned is null
getBytes
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getBytes.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte array in the Java programming language.

public Reader

Returns:

a java.io.Reader object that contains the column value; if the value is SQL NULL, the value returned is null.
getCharacterStream
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getCharacterStream.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.io.Reader object.

public Reader

Returns:

a java.io.Reader object that contains the column value; if the value is SQL NULL, the value returned is null.
getCharacterStream
(String
the name of the column
columnName
)

Implements java.sql.ResultSet.getCharacterStream.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.io.Reader object.

public Clob

Returns:

a Clob object representing the SQL CLOB value in the specified column
getClob
(int
the first column is 1, the second is 2, and so on
i
)

Implements java.sql.ResultSet.getClob.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a Clob object.

public Clob

Returns:

a Clob object representing the SQL CLOB value in the specified column
getClob
(String
the name of the column from which to retrieve the value
colName
)

Implements java.sql.ResultSet.getClob.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a Clob object.

public int

Returns:

the concurrency type, either CONCUR_READ_ONLY or CONCUR_UPDATABLE
getConcurrency
()

Overrides javax.sql.rowset.BaseRowSet.getConcurrency.

Implements java.sql.ResultSet.getConcurrency.

Returns the concurrency mode of this rowset's ResultSet object.

protected Connection

Returns:

the Connection object associated with this rowset;
getConnection
()

Gets this JdbcRowSet object's Connection property

public String

Returns:

the SQL name for this rowset's ResultSet object's cursor
getCursorName
()

Implements java.sql.ResultSet.getCursorName.

Gets the name of the SQL cursor used by this rowset's ResultSet object.

public DatabaseMetaData

Returns:

the DatabaseMetadata associated with the rowset's connection.
getDatabaseMetaData
()

Retrieves the DatabaseMetaData associated with the connection handle associated with this JdbcRowSet object.

public Date

Returns:

the column value; if the value is SQL NULL, the value returned is null
getDate
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getDate.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object in the Java programming language.

public Date

Returns:

the column value; if the value is SQL NULL, the value returned is null
getDate
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getDate.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object in the Java programming language.

public Date

Returns:

the column value as a java.sql.Date object; if the value is SQL NULL, the value returned is null
getDate
(int
the first column is 1, the second is 2, and so on
columnIndex
,
Calendar
the java.util.Calendar object to use in constructing the date
cal
)

Implements java.sql.ResultSet.getDate.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object.

public Date

Returns:

the column value as a java.sql.Date object; if the value is SQL NULL, the value returned is null
getDate
(String
the SQL name of the column from which to retrieve the value
columnName
,
Calendar
the java.util.Calendar object to use in constructing the date
cal
)

Implements java.sql.ResultSet.getDate.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object.

public double

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getDouble
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getDouble.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a double.

public double

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getDouble
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getDouble.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a double.

public int

Returns:

the current fetch direction for this rowset's ResultSet object
getFetchDirection
()

Overrides javax.sql.rowset.BaseRowSet.getFetchDirection.

Implements java.sql.ResultSet.getFetchDirection.

Returns the fetch direction for this ResultSet object.

public float

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getFloat
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getFloat.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a float.

public float

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getFloat
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getFloat.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a float.

public int

Returns:

either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT
getHoldability
()

Implements java.sql.ResultSet.getHoldability.

Retrieves the holdability of this ResultSet object

public int

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getInt
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getInt.

Gets the value of the designated column in the current row of this rowset's ResultSet object as an int.

public int

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getInt
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getInt.

Gets the value of the designated column in the current row of this rowset's ResultSet object as an int.

public long

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getLong
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getLong.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a long.

public long

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getLong
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getLong.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a long.

public int[]

Returns:

an int array object that contains the column ids for the rowset which has this as the match columns.
getMatchColumnIndexes
()

Implements javax.sql.rowset.Joinable.getMatchColumnIndexes.

Retrieves the column id as int array that was set using setMatchColumn(int []) for this rowset.

public String[]

Returns:

a String array object that contains the column names for the rowset which has this the match columns
getMatchColumnNames
()

Implements javax.sql.rowset.Joinable.getMatchColumnNames.

Retrieves the column name as String array that was set using setMatchColumn(String []) for this rowset.

public ResultSetMetaData

Returns:

the description of this rowset's ResultSet object's columns
getMetaData
()

Implements java.sql.ResultSet.getMetaData.

Retrieves the number, types and properties of this rowset's ResultSet object's columns.

public Reader

Returns:

a java.io.Reader object that contains the column value; if the value is SQL NULL, the value returned is null in the Java programming language.
getNCharacterStream
(int
the first column is 1, the second is 2, ...
columnIndex
)

Implements java.sql.ResultSet.getNCharacterStream.

Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object.

public Reader

Returns:

a java.io.Reader object that contains the column value; if the value is SQL NULL, the value returned is null in the Java programming language
getNCharacterStream
(String
the name of the column
columnName
)

Implements java.sql.ResultSet.getNCharacterStream.

Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object.

public NClob

Returns:

a NClob object representing the SQL NCLOB value in the specified column
getNClob
(int
the first column is 1, the second is 2, ...
i
)

Implements java.sql.ResultSet.getNClob.

Retrieves the value of the designated column in the current row of this ResultSet object as a NClob object in the Java programming language.

public NClob

Returns:

a NClob object representing the SQL NCLOB value in the specified column
getNClob
(String
the name of the column from which to retrieve the value
colName
)

Implements java.sql.ResultSet.getNClob.

Retrieves the value of the designated column in the current row of this ResultSet object as a NClob object in the Java programming language.

public String

Returns:

the column value; if the value is SQL NULL, the value returned is null
getNString
(int
the first column is 1, the second is 2, ...
columnIndex
)

Implements java.sql.ResultSet.getNString.

Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language.

public String

Returns:

the column value; if the value is SQL NULL, the value returned is null
getNString
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getNString.

Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language.

public Object

Returns:

a java.lang.Object holding the column value
getObject
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getObject.

Gets the value of the designated column in the current row of this rowset's ResultSet object as an Object.

public Object

Returns:

a java.lang.Object holding the column value
getObject
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getObject.

Gets the value of the designated column in the current row of this rowset's ResultSet object as an Object.

public Object

Returns:

an Object in the Java programming language representing the SQL value
getObject
(int
the first column is 1, the second is 2, and so on
i
,
Map<String, Class<?>>
a java.util.Map object that contains the mapping from SQL type names to classes in the Java programming language
map
)

Implements java.sql.ResultSet.getObject.

Returns the value of the designated column in the current row of this rowset's ResultSet object as an Object.

public Object

Returns:

an Object representing the SQL value in the specified column
getObject
(String
the name of the column from which to retrieve the value
colName
,
Map<String, Class<?>>
a java.util.Map object that contains the mapping from SQL type names to classes in the Java programming language
map
)

Implements java.sql.ResultSet.getObject.

Returns the value of the designated column in the current row of this rowset's ResultSet object as an Object.

public <T> T
getObject(int columnIndex, Class<T> type)

Implements java.sql.ResultSet.getObject.

Retrieves the value of the designated column in the current row of this ResultSet object and will convert from the SQL type of the column to the requested Java data type, if the conversion is supported.

public <T> T
getObject(String columnLabel, Class<T> type)

Implements java.sql.ResultSet.getObject.

Retrieves the value of the designated column in the current row of this ResultSet object and will convert from the SQL type of the column to the requested Java data type, if the conversion is supported.

public ParameterMetaData

Returns:

the ParameterMetadata associated with the rowset's connection.
getParameterMetaData
()

Retrieves the ParameterMetaData associated with the connection handle associated with this JdbcRowSet object.

protected PreparedStatement

Returns:

the PreparedStatement object associated with this rowset;
getPreparedStatement
()

Gets this JdbcRowSet object's PreparedStatement property

public Ref

Returns:

a Ref object representing an SQL REF value
getRef
(int
the first column is 1, the second is 2, and so on
i
)

Implements java.sql.ResultSet.getRef.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a Ref object.

public Ref

Returns:

a Ref object representing the SQL REF value in the specified column
getRef
(String
the column name
colName
)

Implements java.sql.ResultSet.getRef.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a Ref object.

protected ResultSet

Returns:

the ResultSet object associated with this rowset;
getResultSet
()

Gets this JdbcRowSet object's ResultSet property

public int

Returns:

the current row number; 0 if there is no current row
getRow
()

Implements java.sql.ResultSet.getRow.

Retrieves the current row number.

public RowId

Returns:

the column value if the value is a SQL NULL the value returned is null
getRowId
(int
the first column is 1, the second 2, ...
columnIndex
)

Implements java.sql.ResultSet.getRowId.

Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.RowId object in the Java programming language.

public RowId

Returns:

the column value if the value is a SQL NULL the value returned is null
getRowId
(String
the name of the column
columnName
)

Implements java.sql.ResultSet.getRowId.

Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.RowId object in the Java programming language.

public RowSetWarning
getRowSetWarnings()

Implements javax.sql.rowset.JdbcRowSet.getRowSetWarnings.

Return the RowSetWarning object for the current row of a JdbcRowSetImpl

public short

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getShort
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getShort.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a short.

public short

Returns:

the column value; if the value is SQL NULL, the value returned is 0
getShort
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getShort.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a short.

public SQLXML

Returns:

a SQLXML object that maps an SQL XML value
getSQLXML
(int
the first column is 1, the second is 2, ...
columnIndex
)

Implements java.sql.ResultSet.getSQLXML.

Retrieves the value of the designated SQL XML parameter as a SQLXML object in the Java programming language.

public SQLXML

Returns:

a SQLXML object that maps an SQL XML value
getSQLXML
(String
the name of the column from which to retrieve the value
colName
)

Implements java.sql.ResultSet.getSQLXML.

Retrieves the value of the designated SQL XML parameter as a SQLXML object in the Java programming language.

public Statement

Returns:

the Statement object that produced this rowset's ResultSet object or null if the result set was produced some other way
getStatement
()

Implements java.sql.ResultSet.getStatement.

Returns the Statement object that produced this ResultSet object.

public String

Returns:

the column value; if the value is SQL NULL, the value returned is null
getString
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getString.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a String.

public String

Returns:

the column value; if the value is SQL NULL, the value returned is null
getString
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getString.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a String.

public Time

Returns:

the column value; if the value is SQL NULL, the value returned is null
getTime
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getTime.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object in the Java programming language.

public Time

Returns:

the column value; if the value is SQL NULL, the value returned is null
getTime
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getTime.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object in the Java programming language.

public Time

Returns:

the column value as a java.sql.Time object; if the value is SQL NULL, the value returned is null in the Java programming language
getTime
(int
the first column is 1, the second is 2, and so on
columnIndex
,
Calendar
the java.util.Calendar object to use in constructing the time
cal
)

Implements java.sql.ResultSet.getTime.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object.

public Time

Returns:

the column value as a java.sql.Time object; if the value is SQL NULL, the value returned is null in the Java programming language
getTime
(String
the SQL name of the column
columnName
,
Calendar
the java.util.Calendar object to use in constructing the time
cal
)

Implements java.sql.ResultSet.getTime.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object.

public Timestamp

Returns:

the column value; if the value is SQL NULL, the value returned is null
getTimestamp
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getTimestamp.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object in the Java programming language.

public Timestamp

Returns:

the column value; if the value is SQL NULL, the value returned is null
getTimestamp
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getTimestamp.

Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object.

public Timestamp

Returns:

the column value as a java.sql.Timestamp object; if the value is SQL NULL, the value returned is null
getTimestamp
(int
the first column is 1, the second is 2, and so on
columnIndex
,
Calendar
the java.util.Calendar object to use in constructing the timestamp
cal
)

Implements java.sql.ResultSet.getTimestamp.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object.

public Timestamp

Returns:

the column value as a java.sql.Timestamp object; if the value is SQL NULL, the value returned is null
getTimestamp
(String
the SQL name of the column
columnName
,
Calendar
the java.util.Calendar object to use in constructing the timestamp
cal
)

Implements java.sql.ResultSet.getTimestamp.

Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object.

public int

Returns:

the current fetch size for this rowset's ResultSet object
getType
()

Overrides javax.sql.rowset.BaseRowSet.getType.

Implements java.sql.ResultSet.getType.

Returns the fetch size for this ResultSet object.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream in Java UTF-8 byte format; if the value is SQL NULL, the value returned is null
getUnicodeStream
(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.getUnicodeStream.

Deprecated use getCharacterStream in place of getUnicodeStream

Gets the value of the designated column in the current row of this rowset's ResultSet object as as a stream of Unicode characters.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream of two-byte Unicode characters. If the value is SQL NULL, the value returned is null.
getUnicodeStream
(String
the SQL name of the column
columnName
)

Implements java.sql.ResultSet.getUnicodeStream.

Deprecated

Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of Unicode characters.

public URL
getURL(int columnIndex)

Implements java.sql.ResultSet.getURL.

Provide interface coverage for getURL(int) in ResultSet->RowSet

public URL
getURL(String columnName)

Implements java.sql.ResultSet.getURL.

Provide interface coverage for getURL(String) in ResultSet->RowSet

public SQLWarning

Returns:

the first SQLWarning object reported or null
getWarnings
()

Implements java.sql.ResultSet.getWarnings.

Returns the first warning reported by calls on this rowset's ResultSet object.

protected void
initMetaData(RowSetMetaData
the RowSetMetaData object for this JdbcRowSetImpl object, which will be set with values from rsmd
md
,
ResultSetMetaData
the ResultSetMetaData object from which new values for md will be read
rsmd
)

Initializes the given RowSetMetaData object with the values in the given ResultSetMetaData object.

public void
insertRow()

Implements java.sql.ResultSet.insertRow.

Inserts the contents of the insert row into this ResultSet object and into the database and also notifies listeners that a row has changed.

public boolean

Returns:

true if the cursor is after the last row; false if the cursor is at any other position or the result set contains no rows
isAfterLast
()

Implements java.sql.ResultSet.isAfterLast.

Indicates whether the cursor is after the last row in this rowset's ResultSet object.

public boolean

Returns:

true if the cursor is before the first row; false if the cursor is at any other position or the result set contains no rows
isBeforeFirst
()

Implements java.sql.ResultSet.isBeforeFirst.

Indicates whether the cursor is before the first row in this rowset's ResultSet object.

public boolean

Returns:

true if this ResultSet object is closed; false if it is still open
isClosed
()

Implements java.sql.ResultSet.isClosed.

Retrieves whether this ResultSet object has been closed.

public boolean

Returns:

true if the cursor is on the first row; false otherwise
isFirst
()

Implements java.sql.ResultSet.isFirst.

Indicates whether the cursor is on the first row of this rowset's ResultSet object.

public boolean

Returns:

true if the cursor is on the last row; false otherwise
isLast
()

Implements java.sql.ResultSet.isLast.

Indicates whether the cursor is on the last row of this rowset's ResultSet object.

public boolean
isWrapperFor(Class<?> interfaces)

Implements java.sql.Wrapper.isWrapperFor.

Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does.

public boolean

Returns:

true if the cursor is on a valid row; false if there are no rows in the result set
last
()

Implements java.sql.ResultSet.last.

Moves the cursor to the last row in this rowset's ResultSet object.

public void
moveToCurrentRow()

Implements java.sql.ResultSet.moveToCurrentRow.

Moves the cursor to the remembered cursor position, usually the current row.

public void
moveToInsertRow()

Implements java.sql.ResultSet.moveToInsertRow.

Moves the cursor to the insert row.

public boolean

Returns:

true if the new current row is valid; false if there are no more rows
next
()

Implements java.sql.ResultSet.next.

Moves the cursor for this rowset's ResultSet object down one row from its current position.

protected PreparedStatement
public boolean

Returns:

true if the cursor is on a valid row; false if it is off the result set
previous
()

Implements java.sql.ResultSet.previous.

Moves the cursor to the previous row in this ResultSet object.

private void
readObject(ObjectInputStream ois)

This method re populates the resBundle during the deserialization process

public void
refreshRow()

Implements java.sql.ResultSet.refreshRow.

Refreshes the current row of this rowset's ResultSet object with its most recent value in the database.

public boolean

Returns:

true if the cursor is on a row; false otherwise
relative
(int rows)

Implements java.sql.ResultSet.relative.

Moves the cursor a relative number of rows, either positive or negative.

public void
rollback()

Implements javax.sql.rowset.JdbcRowSet.rollback.

Rolls back all the updates in this JdbcRowSet object by wrapping the internal Connection object and calling its rollback method.

public void
rollback(Savepoint
the Savepoint transaction marker to roll the transaction to.
s
)

Implements javax.sql.rowset.JdbcRowSet.rollback.

Rollbacks all the updates in the JdbcRowSet back to the last Savepoint transaction marker.

public boolean

Returns:

true if a row was deleted and deletions are detected; false otherwise
rowDeleted
()

Implements java.sql.ResultSet.rowDeleted.

Indicates whether a row has been deleted.

public boolean

Returns:

true if a row has had an insertion and insertions are detected; false otherwise
rowInserted
()

Implements java.sql.ResultSet.rowInserted.

Indicates whether the current row has had an insertion.

public boolean

Returns:

true if the row has been visibly updated by the owner or another, and updates are detected
rowUpdated
()

Implements java.sql.ResultSet.rowUpdated.

Indicates whether the current row has been updated.

public void
setAsciiStream(String
the name of the parameter
parameterName
,
InputStream
the Java input stream that contains the ASCII parameter value
x
,
int
the number of bytes in the stream
length
)

Overrides javax.sql.rowset.BaseRowSet.setAsciiStream.

Implements javax.sql.RowSet.setAsciiStream.

Sets the designated parameter to the given input stream, which will have the specified number of bytes.

public void
setAsciiStream(String
the name of the parameter
parameterName
,
InputStream
the Java input stream that contains the ASCII parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setAsciiStream.

Implements javax.sql.RowSet.setAsciiStream.

Sets the designated parameter to the given input stream.

public void
setAutoCommit(boolean autoCommit)

Implements javax.sql.rowset.JdbcRowSet.setAutoCommit.

Sets auto-commit on the internal Connection object with this JdbcRowSet

public void
setBigDecimal(String
the name of the parameter
parameterName
,
BigDecimal
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setBigDecimal.

Implements javax.sql.RowSet.setBigDecimal.

Sets the designated parameter to the given java.math.BigDecimal value.

public void
setBinaryStream(String
the name of the parameter
parameterName
,
InputStream
the java input stream which contains the binary parameter value
x
,
int
the number of bytes in the stream
length
)

Overrides javax.sql.rowset.BaseRowSet.setBinaryStream.

Implements javax.sql.RowSet.setBinaryStream.

Sets the designated parameter to the given input stream, which will have the specified number of bytes.

public void
setBinaryStream(String
the name of the parameter
parameterName
,
InputStream
the java input stream which contains the binary parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setBinaryStream.

Implements javax.sql.RowSet.setBinaryStream.

Sets the designated parameter to the given input stream.

public void
setBlob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
,
long
the number of bytes in the parameter data.
length
)

Overrides javax.sql.rowset.BaseRowSet.setBlob.

Implements javax.sql.RowSet.setBlob.

Sets the designated parameter to an InputStream object.

public void
setBlob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
)

Overrides javax.sql.rowset.BaseRowSet.setBlob.

Implements javax.sql.RowSet.setBlob.

Sets the designated parameter to an InputStream object.

public void
setBlob(String
the name of the parameter to be set the second is 2, ...
parameterName
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
,
long
the number of bytes in the parameter data.
length
)

Overrides javax.sql.rowset.BaseRowSet.setBlob.

Implements javax.sql.RowSet.setBlob.

Sets the designated parameter to an InputStream object.

public void
setBlob(String
the name of the parameter
parameterName
,
Blob
a Blob object that maps an SQL BLOB value
x
)

Overrides javax.sql.rowset.BaseRowSet.setBlob.

Implements javax.sql.RowSet.setBlob.

Sets the designated parameter to the given java.sql.Blob object.

public void
setBlob(String
the name of the parameter
parameterName
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
)

Overrides javax.sql.rowset.BaseRowSet.setBlob.

Implements javax.sql.RowSet.setBlob.

Sets the designated parameter to an InputStream object.

public void
setBoolean(String
the name of the parameter
parameterName
,
boolean
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setBoolean.

Implements javax.sql.RowSet.setBoolean.

Sets the designated parameter to the given Java boolean value.

public void
setByte(String
the name of the parameter
parameterName
,
byte
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setByte.

Implements javax.sql.RowSet.setByte.

Sets the designated parameter to the given Java byte value.

public void
setBytes(String
the name of the parameter
parameterName
,
byte[]
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setBytes.

Implements javax.sql.RowSet.setBytes.

Sets the designated parameter to the given Java array of bytes.

public void
setCharacterStream(String
the name of the parameter
parameterName
,
Reader
the java.io.Reader object that contains the UNICODE data used as the designated parameter
reader
,
int
the number of characters in the stream
length
)

Overrides javax.sql.rowset.BaseRowSet.setCharacterStream.

Implements javax.sql.RowSet.setCharacterStream.

Sets the designated parameter to the given Reader object, which is the given number of characters long.

public void
setCharacterStream(String
the name of the parameter
parameterName
,
Reader
the java.io.Reader object that contains the Unicode data
reader
)

Overrides javax.sql.rowset.BaseRowSet.setCharacterStream.

Implements javax.sql.RowSet.setCharacterStream.

Sets the designated parameter to the given Reader object.

public void
setClob(String
the name of the parameter to be set
parameterName
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Overrides javax.sql.rowset.BaseRowSet.setClob.

Implements javax.sql.RowSet.setClob.

Sets the designated parameter to a Reader object.

public void
setClob(String
the name of the parameter
parameterName
,
Clob
a Clob object that maps an SQL CLOB value
x
)

Overrides javax.sql.rowset.BaseRowSet.setClob.

Implements javax.sql.RowSet.setClob.

Sets the designated parameter to the given java.sql.Clob object.

public void
setClob(String
the name of the parameter
parameterName
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Overrides javax.sql.rowset.BaseRowSet.setClob.

Implements javax.sql.RowSet.setClob.

Sets the designated parameter to a Reader object.

public void
setClob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Overrides javax.sql.rowset.BaseRowSet.setClob.

Implements javax.sql.RowSet.setClob.

Sets the designated parameter to a Reader object.

public void
setClob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Overrides javax.sql.rowset.BaseRowSet.setClob.

Implements javax.sql.RowSet.setClob.

Sets the designated parameter to a Reader object.

public void
setCommand(String
a String object containing an SQL query that will be set as this RowSet object's command property; may be null but may not be an empty string
command
)

Overrides javax.sql.rowset.BaseRowSet.setCommand.

Implements javax.sql.RowSet.setCommand.

Sets this JdbcRowSet object's command property to the given String object and clears the parameters, if any, that were set for the previous command.

public void
setConcurrency(int
one of the following constants: ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE
concur
)

Overrides javax.sql.rowset.BaseRowSet.setConcurrency.

Implements javax.sql.RowSet.setConcurrency.

Sets the concurrency for this RowSet object to the specified concurrency.

protected void
setConnection(Connection
the Connection object.
connection
)

Sets this JdbcRowSet object's connection property to the given Connection object.

public void
setDataSourceName(String
a String object with the name that can be supplied to a naming service based on JNDI technology to retrieve the DataSource object that can be used to get a connection; may be null
dsName
)

Overrides javax.sql.rowset.BaseRowSet.setDataSourceName.

Implements javax.sql.RowSet.setDataSourceName.

Sets the dataSourceName property for this JdbcRowSet object to the given logical name and sets this JdbcRowSet object's Url property to null.

public void
setDate(String
the name of the parameter
parameterName
,
Date
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setDate.

Implements javax.sql.RowSet.setDate.

Sets the designated parameter to the given java.sql.Date value using the default time zone of the virtual machine that is running the application.

public void
setDate(String
the name of the parameter
parameterName
,
Date
the parameter value
x
,
Calendar
the Calendar object the driver will use to construct the date
cal
)

Overrides javax.sql.rowset.BaseRowSet.setDate.

Implements javax.sql.RowSet.setDate.

Sets the designated parameter to the given java.sql.Date value, using the given Calendar object.

public void
setDouble(String
the name of the parameter
parameterName
,
double
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setDouble.

Implements javax.sql.RowSet.setDouble.

Sets the designated parameter to the given Java double value.

public void
setFetchDirection(int direction)

Overrides javax.sql.rowset.BaseRowSet.setFetchDirection.

Implements java.sql.ResultSet.setFetchDirection.

Gives a hint as to the direction in which the rows in this ResultSet object will be processed.

public void
setFetchSize(int
the number of rows to fetch
rows
)

Overrides javax.sql.rowset.BaseRowSet.setFetchSize.

Implements java.sql.ResultSet.setFetchSize.

Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this ResultSet object.

public void
setFloat(String
the name of the parameter
parameterName
,
float
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setFloat.

Implements javax.sql.RowSet.setFloat.

Sets the designated parameter to the given Java float value.

public void
setInt(String
the name of the parameter
parameterName
,
int
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setInt.

Implements javax.sql.RowSet.setInt.

Sets the designated parameter to the given Java int value.

public void
setLong(String
the name of the parameter
parameterName
,
long
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setLong.

Implements javax.sql.RowSet.setLong.

Sets the designated parameter to the given Java long value.

public void
setMatchColumn(int[]
the indexes into this rowset object's internal representation of parameter values; the first parameter is 0, the second is 1, and so on; must be 0 or greater
columnIdxes
)

Implements javax.sql.rowset.Joinable.setMatchColumn.

Sets the designated parameter to the given int array.

public void
setMatchColumn(String[]
the name of the column into this rowset object's internal representation of parameter values
columnNames
)

Implements javax.sql.rowset.Joinable.setMatchColumn.

Sets the designated parameter to the given String array.

public void
setMatchColumn(int
the index into this rowset object's internal representation of parameter values; the first parameter is 0, the second is 1, and so on; must be 0 or greater
columnIdx
)

Implements javax.sql.rowset.Joinable.setMatchColumn.

Sets the designated parameter to the given int object.

public void
setMatchColumn(String
the name of the column into this rowset object's internal representation of parameter values
columnName
)

Implements javax.sql.rowset.Joinable.setMatchColumn.

Sets the designated parameter to the given String object.

public void
setNCharacterStream(int
of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
the parameter value
value
)

Overrides javax.sql.rowset.BaseRowSet.setNCharacterStream.

Implements javax.sql.RowSet.setNCharacterStream.

Sets the designated parameter in this RowSet object's command to a Reader object.

public void
setNCharacterStream(int
of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
the parameter value
value
,
long
the number of characters in the parameter data.
length
)

Overrides javax.sql.rowset.BaseRowSet.setNCharacterStream.

Implements javax.sql.RowSet.setNCharacterStream.

Sets the designated parameter to a Reader object.

public void
setNCharacterStream(String
the name of the column to be set
parameterName
,
Reader
the parameter value
value
,
long
the number of characters in the parameter data.
length
)

Overrides javax.sql.rowset.BaseRowSet.setNCharacterStream.

Implements javax.sql.RowSet.setNCharacterStream.

Sets the designated parameter to a Reader object.

public void
setNCharacterStream(String
the name of the parameter
parameterName
,
Reader
the parameter value
value
)

Overrides javax.sql.rowset.BaseRowSet.setNCharacterStream.

Implements javax.sql.RowSet.setNCharacterStream.

Sets the designated parameter to a Reader object.

public void
setNClob(String
the name of the column to be set
parameterName
,
NClob
the parameter value
value
)

Overrides javax.sql.rowset.BaseRowSet.setNClob.

Implements javax.sql.RowSet.setNClob.

Sets the designated parameter to a java.sql.NClob object.

public void
setNClob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Overrides javax.sql.rowset.BaseRowSet.setNClob.

Implements javax.sql.RowSet.setNClob.

Sets the designated parameter to a Reader object.

public void
setNClob(String
the name of the parameter to be set
parameterName
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Overrides javax.sql.rowset.BaseRowSet.setNClob.

Implements javax.sql.RowSet.setNClob.

Sets the designated parameter to a Reader object.

public void
setNClob(String
the name of the parameter
parameterName
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Overrides javax.sql.rowset.BaseRowSet.setNClob.

Implements javax.sql.RowSet.setNClob.

Sets the designated parameter to a Reader object.

public void
setNClob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Overrides javax.sql.rowset.BaseRowSet.setNClob.

Implements javax.sql.RowSet.setNClob.

Sets the designated parameter to a Reader object.

public void
setNClob(int
of the first parameter is 1, the second is 2, ...
parameterIndex
,
NClob
the parameter value
value
)

Overrides javax.sql.rowset.BaseRowSet.setNClob.

Implements javax.sql.RowSet.setNClob.

Sets the designated parameter to a java.sql.NClob object.

public void
setNString(int
of the first parameter is 1, the second is 2, ...
parameterIndex
,
String
the parameter value
value
)

Overrides javax.sql.rowset.BaseRowSet.setNString.

Implements javax.sql.RowSet.setNString.

Sets the designated parameter to the given String object.

public void
setNString(String
the name of the column to be set
parameterName
,
String
the parameter value
value
)

Overrides javax.sql.rowset.BaseRowSet.setNString.

Implements javax.sql.RowSet.setNString.

Sets the designated parameter to the given String object.

public void
setNull(String
the name of the parameter
parameterName
,
int
the SQL type code defined in java.sql.Types
sqlType
)

Overrides javax.sql.rowset.BaseRowSet.setNull.

Implements javax.sql.RowSet.setNull.

Sets the designated parameter to SQL NULL.

public void
setNull(String
the name of the parameter
parameterName
,
int
a value from java.sql.Types
sqlType
,
String
the fully-qualified name of an SQL user-defined type; ignored if the parameter is not a user-defined type or SQL REF value
typeName
)

Overrides javax.sql.rowset.BaseRowSet.setNull.

Implements javax.sql.RowSet.setNull.

Sets the designated parameter to SQL NULL.

public void
setObject(String
the name of the parameter
parameterName
,
Object
the object containing the input parameter value
x
,
int
the SQL type (as defined in java.sql.Types) to be sent to the database. The scale argument may further qualify this type.
targetSqlType
,
int
for java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types, this is the number of digits after the decimal point. For all other types, this value will be ignored.
scale
)

Overrides javax.sql.rowset.BaseRowSet.setObject.

Implements javax.sql.RowSet.setObject.

Sets the value of the designated parameter with the given object.

public void
setObject(String
the name of the parameter
parameterName
,
Object
the object containing the input parameter value
x
,
int
the SQL type (as defined in java.sql.Types) to be sent to the database
targetSqlType
)

Overrides javax.sql.rowset.BaseRowSet.setObject.

Implements javax.sql.RowSet.setObject.

Sets the value of the designated parameter with the given object.

public void
setObject(String
the name of the parameter
parameterName
,
Object
the object containing the input parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setObject.

Implements javax.sql.RowSet.setObject.

Sets the value of the designated parameter with the given object.

protected void
public void
setPassword(String
the String object that represents the password that must be supplied to the database to create a connection
password
)

Overrides javax.sql.rowset.BaseRowSet.setPassword.

Implements javax.sql.RowSet.setPassword.

Sets the password property for this JdbcRowSet object to the given String object.

protected void
setPreparedStatement(PreparedStatement
the PreparedStatement object
preparedStatement
)

Sets this JdbcRowSet object's preparedtsatement property to the given PreparedStatemennt object.

protected void
protected void
setResultSet(ResultSet
the ResultSet object
resultSet
)

Sets this JdbcRowSet object's resultset property to the given ResultSet object.

public void
setRowId(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
RowId
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setRowId.

Implements javax.sql.RowSet.setRowId.

Sets the designated parameter to the given java.sql.RowId object.

public void
setRowId(String
the name of the parameter
parameterName
,
RowId
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setRowId.

Implements javax.sql.RowSet.setRowId.

Sets the designated parameter to the given java.sql.RowId object.

public void
setShort(String
the name of the parameter
parameterName
,
short
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setShort.

Implements javax.sql.RowSet.setShort.

Sets the designated parameter to the given Java short value.

public void
setSQLXML(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
SQLXML
a SQLXML object that maps an SQL XML value
xmlObject
)

Overrides javax.sql.rowset.BaseRowSet.setSQLXML.

Implements javax.sql.RowSet.setSQLXML.

Sets the designated parameter to the given java.sql.SQLXML object.

public void
setSQLXML(String
the name of the parameter
parameterName
,
SQLXML
a SQLXML object that maps an SQL XML value
xmlObject
)

Overrides javax.sql.rowset.BaseRowSet.setSQLXML.

Implements javax.sql.RowSet.setSQLXML.

Sets the designated parameter to the given java.sql.SQLXML object.

public void
setString(String
the name of the parameter
parameterName
,
String
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setString.

Implements javax.sql.RowSet.setString.

Sets the designated parameter to the given Java String value.

public void
setTime(String
the name of the parameter
parameterName
,
Time
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setTime.

Implements javax.sql.RowSet.setTime.

Sets the designated parameter to the given java.sql.Time value.

public void
setTime(String
the name of the parameter
parameterName
,
Time
the parameter value
x
,
Calendar
the Calendar object the driver will use to construct the time
cal
)

Overrides javax.sql.rowset.BaseRowSet.setTime.

Implements javax.sql.RowSet.setTime.

Sets the designated parameter to the given java.sql.Time value, using the given Calendar object.

public void
setTimestamp(String
the name of the parameter
parameterName
,
Timestamp
the parameter value
x
,
Calendar
the Calendar object the driver will use to construct the timestamp
cal
)

Overrides javax.sql.rowset.BaseRowSet.setTimestamp.

Implements javax.sql.RowSet.setTimestamp.

Sets the designated parameter to the given java.sql.Timestamp value, using the given Calendar object.

public void
setTimestamp(String
the name of the parameter
parameterName
,
Timestamp
the parameter value
x
)

Overrides javax.sql.rowset.BaseRowSet.setTimestamp.

Implements javax.sql.RowSet.setTimestamp.

Sets the designated parameter to the given java.sql.Timestamp value.

public void
setType(int
one of the following constants: ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE
type
)

Overrides javax.sql.rowset.BaseRowSet.setType.

Implements javax.sql.RowSet.setType.

Sets the type for this RowSet object to the specified type.

public void
setUrl(String
a String object that contains the JDBC URL that will be used to establish the connection to a database for this RowSet object; may be null but must not be an empty string
url
)

Overrides javax.sql.rowset.BaseRowSet.setUrl.

Implements javax.sql.RowSet.setUrl.

Sets the Url property for this JdbcRowSet object to the given String object and sets the dataSource name property to null.

public void
setURL(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
URL
the java.net.URL object to be set
x
)

Overrides javax.sql.rowset.BaseRowSet.setURL.

Implements javax.sql.RowSet.setURL.

Sets the designated parameter to the given java.net.URL value.

public void
setUsername(String
the String object containing the user name that is supplied to the data source to create a connection. It may be null.
uname
)

Overrides javax.sql.rowset.BaseRowSet.setUsername.

Implements javax.sql.RowSet.setUsername.

Sets the username property for this JdbcRowSet object to the given user name.

public void
unsetMatchColumn(int[]
the index into this rowset object's internal representation of parameter values
columnIdxes
)

Implements javax.sql.rowset.Joinable.unsetMatchColumn.

Unsets the designated parameter to the given int array.

public void
unsetMatchColumn(String[]
the index into this rowset object's internal representation of parameter values
columnIdxes
)

Implements javax.sql.rowset.Joinable.unsetMatchColumn.

Unsets the designated parameter to the given String array.

public void
unsetMatchColumn(int
the index into this rowset object's internal representation of parameter values
columnIdx
)

Implements javax.sql.rowset.Joinable.unsetMatchColumn.

Unsets the designated parameter to the given int object.

public void
unsetMatchColumn(String
the index into this rowset object's internal representation of parameter values
columnName
)

Implements javax.sql.rowset.Joinable.unsetMatchColumn.

Unsets the designated parameter to the given String object.

public <T> T
unwrap(Class<T> iface)

Implements java.sql.Wrapper.unwrap.

Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy.

public void
updateArray(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Array
the new column Array value
a
)

Implements java.sql.ResultSet.updateArray.

Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Array values.

public void
updateArray(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Array
the new column Array value
a
)

Implements java.sql.ResultSet.updateArray.

Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Array value.

public void
updateAsciiStream(int
the first column is 1, the second is 2, and so on
columnIndex
,
InputStream
the new column value
x
,
int
the length of the stream
length
)

Implements java.sql.ResultSet.updateAsciiStream.

Updates the designated column with an ascii stream value.

public void
updateAsciiStream(String
the name of the column
columnName
,
InputStream
the new column value
x
,
int
the length of the stream
length
)

Implements java.sql.ResultSet.updateAsciiStream.

Updates the designated column with an ascii stream value.

public void
updateAsciiStream(int
the first column is 1, the second is 2, ...
columnIndex
,
InputStream
the new column value
x
,
long
the length of the stream
length
)

Implements java.sql.ResultSet.updateAsciiStream.

Updates the designated column with an ascii stream value, which will have the specified number of bytes.

public void
updateAsciiStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
InputStream
the new column value
x
,
long
the length of the stream
length
)

Implements java.sql.ResultSet.updateAsciiStream.

Updates the designated column with an ascii stream value, which will have the specified number of bytes..

public void
updateAsciiStream(int
the first column is 1, the second is 2, ...
columnIndex
,
InputStream
the new column value
x
)

Implements java.sql.ResultSet.updateAsciiStream.

Updates the designated column with an ascii stream value.

public void
updateAsciiStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
InputStream
the new column value
x
)

Implements java.sql.ResultSet.updateAsciiStream.

Updates the designated column with an ascii stream value.

public void
updateBigDecimal(int
the first column is 1, the second is 2, and so on
columnIndex
,
BigDecimal
the new column value
x
)

Implements java.sql.ResultSet.updateBigDecimal.

Updates the designated column with a java.math.BigDecimal value.

public void
updateBigDecimal(String
the name of the column
columnName
,
BigDecimal
the new column value
x
)

Implements java.sql.ResultSet.updateBigDecimal.

Updates the designated column with a java.sql.BigDecimal value.

public void
updateBinaryStream(int
the first column is 1, the second is 2, and so on
columnIndex
,
InputStream
the new column value
x
,
int
the length of the stream
length
)

Implements java.sql.ResultSet.updateBinaryStream.

Updates the designated column with a binary stream value.

public void
updateBinaryStream(String
the name of the column
columnName
,
InputStream
the new column value
x
,
int
the length of the stream
length
)

Implements java.sql.ResultSet.updateBinaryStream.

Updates the designated column with a binary stream value.

public void
updateBinaryStream(int
the first column is 1, the second is 2, ...
columnIndex
,
InputStream
the new column value
x
,
long
the length of the stream
length
)

Implements java.sql.ResultSet.updateBinaryStream.

Updates the designated column with a binary stream value, which will have the specified number of bytes.

public void
updateBinaryStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
InputStream
the new column value
x
,
long
the length of the stream
length
)

Implements java.sql.ResultSet.updateBinaryStream.

Updates the designated column with a binary stream value, which will have the specified number of bytes.

public void
updateBinaryStream(int
the first column is 1, the second is 2, ...
columnIndex
,
InputStream
the new column value
x
)

Implements java.sql.ResultSet.updateBinaryStream.

Updates the designated column with a binary stream value.

public void
updateBinaryStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
InputStream
the new column value
x
)

Implements java.sql.ResultSet.updateBinaryStream.

Updates the designated column with a binary stream value.

public void
updateBlob(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Blob
the new column Blob value
b
)

Implements java.sql.ResultSet.updateBlob.

Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Blob value.

public void
updateBlob(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Blob
the new column Blob value
b
)

Implements java.sql.ResultSet.updateBlob.

Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Blob value.

public void
updateBlob(int
the first column is 1, the second is 2, ...
columnIndex
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
,
long
the number of bytes in the parameter data.
length
)

Implements java.sql.ResultSet.updateBlob.

Updates the designated column using the given input stream, which will have the specified number of bytes.

public void
updateBlob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column.
columnLabel
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
,
long
the number of bytes in the parameter data.
length
)

Implements java.sql.ResultSet.updateBlob.

Updates the designated column using the given input stream, which will have the specified number of bytes.

public void
updateBlob(int
the first column is 1, the second is 2, ...
columnIndex
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
)

Implements java.sql.ResultSet.updateBlob.

Updates the designated column using the given input stream.

public void
updateBlob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
)

Implements java.sql.ResultSet.updateBlob.

Updates the designated column using the given input stream.

public void
updateBoolean(int
the first column is 1, the second is 2, and so on
columnIndex
,
boolean
the new column value
x
)

Implements java.sql.ResultSet.updateBoolean.

Updates the designated column with a boolean value.

public void
updateBoolean(String
the name of the column
columnName
,
boolean
the new column value
x
)

Implements java.sql.ResultSet.updateBoolean.

Updates the designated column with a boolean value.

public void
updateByte(int
the first column is 1, the second is 2, and so on
columnIndex
,
byte
the new column value
x
)

Implements java.sql.ResultSet.updateByte.

Updates the designated column with a byte value.

public void
updateByte(String
the name of the column
columnName
,
byte
the new column value
x
)

Implements java.sql.ResultSet.updateByte.

Updates the designated column with a byte value.

public void
updateBytes(int
the first column is 1, the second is 2, and so on
columnIndex
,
byte[]
the new column value
x
)

Implements java.sql.ResultSet.updateBytes.

Updates the designated column with a byte array value.

public void
updateBytes(String
the name of the column
columnName
,
byte[]
the new column value
x
)

Implements java.sql.ResultSet.updateBytes.

Updates the designated column with a boolean value.

public void
updateCharacterStream(int
the first column is 1, the second is 2, and so on
columnIndex
,
Reader
the new column value
x
,
int
the length of the stream
length
)

Implements java.sql.ResultSet.updateCharacterStream.

Updates the designated column with a character stream value.

public void
updateCharacterStream(String
the name of the column
columnName
,
Reader
the new column Reader stream value
reader
,
int
the length of the stream
length
)

Implements java.sql.ResultSet.updateCharacterStream.

Updates the designated column with a character stream value.

public void
updateCharacterStream(int
the first column is 1, the second is 2, ...
columnIndex
,
Reader
the new column value
x
,
long
the length of the stream
length
)

Implements java.sql.ResultSet.updateCharacterStream.

Updates the designated column with a character stream value, which will have the specified number of bytes.

public void
updateCharacterStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
Reader
the java.io.Reader object containing the new column value
reader
,
long
the length of the stream
length
)

Implements java.sql.ResultSet.updateCharacterStream.

Updates the designated column with a character stream value, which will have the specified number of bytes.

public void
updateCharacterStream(int
the first column is 1, the second is 2, ...
columnIndex
,
Reader
the new column value
x
)

Implements java.sql.ResultSet.updateCharacterStream.

Updates the designated column with a character stream value.

public void
updateCharacterStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
Reader
the java.io.Reader object containing the new column value
reader
)

Implements java.sql.ResultSet.updateCharacterStream.

Updates the designated column with a character stream value.

public void
updateClob(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Clob
the new column Clob value
c
)

Implements java.sql.ResultSet.updateClob.

Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value.

public void
updateClob(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Clob
the new column Clob value
c
)

Implements java.sql.ResultSet.updateClob.

Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value.

public void
updateClob(int
the first column is 1, the second is 2, ...
columnIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Implements java.sql.ResultSet.updateClob.

Updates the designated column using the given Reader object, which is the given number of characters long.

public void
updateClob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Implements java.sql.ResultSet.updateClob.

Updates the designated column using the given Reader object, which is the given number of characters long.

public void
updateClob(int
the first column is 1, the second is 2, ...
columnIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Implements java.sql.ResultSet.updateClob.

Updates the designated column using the given Reader object.

public void
updateClob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Implements java.sql.ResultSet.updateClob.

Updates the designated column using the given Reader object.

public void
updateDate(int
the first column is 1, the second is 2, and so on
columnIndex
,
Date
the new column value
x
)

Implements java.sql.ResultSet.updateDate.

Updates the designated column with a java.sql.Date value.

public void
updateDate(String
the name of the column
columnName
,
Date
the new column value
x
)

Implements java.sql.ResultSet.updateDate.

Updates the designated column with a java.sql.Date value.

public void
updateDouble(int
the first column is 1, the second is 2, and so on
columnIndex
,
double
the new column value
x
)

Implements java.sql.ResultSet.updateDouble.

Updates the designated column with a double value.

public void
updateDouble(String
the name of the column
columnName
,
double
the new column value
x
)

Implements java.sql.ResultSet.updateDouble.

Updates the designated column with a double value.

public void
updateFloat(int
the first column is 1, the second is 2, and so on
columnIndex
,
float
the new column value
x
)

Implements java.sql.ResultSet.updateFloat.

Updates the designated column with a float value.

public void
updateFloat(String
the name of the column
columnName
,
float
the new column value
x
)

Implements java.sql.ResultSet.updateFloat.

Updates the designated column with a float value.

public void
updateInt(int
the first column is 1, the second is 2, and so on
columnIndex
,
int
the new column value
x
)

Implements java.sql.ResultSet.updateInt.

Updates the designated column with an int value.

public void
updateInt(String
the name of the column
columnName
,
int
the new column value
x
)

Implements java.sql.ResultSet.updateInt.

Updates the designated column with an int value.

public void
updateLong(int
the first column is 1, the second is 2, and so on
columnIndex
,
long
the new column value
x
)

Implements java.sql.ResultSet.updateLong.

Updates the designated column with a long value.

public void
updateLong(String
the name of the column
columnName
,
long
the new column value
x
)

Implements java.sql.ResultSet.updateLong.

Updates the designated column with a long value.

public void
updateNCharacterStream(int
the first column is 1, the second is 2, ...
columnIndex
,
Reader
the new column value
x
,
long
the length of the stream
length
)

Implements java.sql.ResultSet.updateNCharacterStream.

Updates the designated column with a character stream value, which will have the specified number of bytes.

public void
updateNCharacterStream(String
name of the Column
columnName
,
Reader
the new column value
x
,
long
the length of the stream
length
)

Implements java.sql.ResultSet.updateNCharacterStream.

Updates the designated column with a character stream value, which will have the specified number of bytes.

public void
updateNCharacterStream(int
the first column is 1, the second is 2, ...
columnIndex
,
Reader
the new column value
x
)

Implements java.sql.ResultSet.updateNCharacterStream.

Updates the designated column with a character stream value.

public void
updateNCharacterStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
Reader
the java.io.Reader object containing the new column value
reader
)

Implements java.sql.ResultSet.updateNCharacterStream.

Updates the designated column with a character stream value.

public void
updateNClob(int columnIndex, NClob nClob)

Implements java.sql.ResultSet.updateNClob.

Updates the designated column with a java.sql.NClob value.

public void
updateNClob(String
name of the column
columnName
,
NClob
the value for the column to be updated
nClob
)

Implements java.sql.ResultSet.updateNClob.

This method is used for updating SQL NCLOB type that maps to java.sql.Types.NCLOB

public void
updateNClob(int
the first column is 1, the second 2, ...
columnIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Implements java.sql.ResultSet.updateNClob.

Updates the designated column using the given Reader object, which is the given number of characters long.

public void
updateNClob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Implements java.sql.ResultSet.updateNClob.

Updates the designated column using the given Reader object, which is the given number of characters long.

public void
updateNClob(int
the first column is 1, the second 2, ...
columnIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Implements java.sql.ResultSet.updateNClob.

Updates the designated column using the given Reader object.

public void
updateNClob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
columnLabel
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Implements java.sql.ResultSet.updateNClob.

Updates the designated column using the given Reader object.

public void
updateNString(int
the first column is 1, the second 2, ...
columnIndex
,
String
the value for the column to be updated
nString
)

Implements java.sql.ResultSet.updateNString.

This method is used for updating columns that support National Character sets.

public void
updateNString(String
name of the Column
columnName
,
String
the value for the column to be updated
nString
)

Implements java.sql.ResultSet.updateNString.

This method is used for updating columns that support National Character sets.

public void
updateNull(int
the first column is 1, the second is 2, and so on
columnIndex
)

Implements java.sql.ResultSet.updateNull.

Gives a nullable column a null value.

public void
updateNull(String
the name of the column
columnName
)

Implements java.sql.ResultSet.updateNull.

Updates the designated column with a null value.

public void
updateObject(int
the first column is 1, the second is 2, and so on
columnIndex
,
Object
the new column value
x
,
int
for java.sql.Types.DECIMAl or java.sql.Types.NUMERIC types, this is the number of digits after the decimal point. For all other types this value will be ignored.
scale
)

Implements java.sql.ResultSet.updateObject.

Updates the designated column with an Object value.

public void
updateObject(int
the first column is 1, the second is 2, and so on
columnIndex
,
Object
the new column value
x
)

Implements java.sql.ResultSet.updateObject.

Updates the designated column with an Object value.

public void
updateObject(String
the name of the column
columnName
,
Object
the new column value
x
,
int
for java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types, this is the number of digits after the decimal point. For all other types this value will be ignored.
scale
)

Implements java.sql.ResultSet.updateObject.

Updates the designated column with an Object value.

public void
updateObject(String
the name of the column
columnName
,
Object
the new column value
x
)

Implements java.sql.ResultSet.updateObject.

Updates the designated column with an Object value.

public void
updateRef(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Ref
the new Ref column value
ref
)

Implements java.sql.ResultSet.updateRef.

Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value.

public void
updateRef(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Ref
the new column value
ref
)

Implements java.sql.ResultSet.updateRef.

Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value.

public void
updateRow()

Implements java.sql.ResultSet.updateRow.

Updates the underlying database with the new contents of the current row of this rowset's ResultSet object and notifies listeners that a row has changed.

public void
updateRowId(int
the first column is 1, the second 2, ...
columnIndex
,
RowId
the column value
x
)

Implements java.sql.ResultSet.updateRowId.

Updates the designated column with a RowId value.

public void
updateRowId(String
the name of the column
columnName
,
RowId
the column value
x
)

Implements java.sql.ResultSet.updateRowId.

Updates the designated column with a RowId value.

public void
updateShort(int
the first column is 1, the second is 2, and so on
columnIndex
,
short
the new column value
x
)

Implements java.sql.ResultSet.updateShort.

Updates the designated column with a short value.

public void
updateShort(String
the name of the column
columnName
,
short
the new column value
x
)

Implements java.sql.ResultSet.updateShort.

Updates the designated column with a short value.

public void
updateSQLXML(int
the first column is 1, the second 2, ...
columnIndex
,
SQLXML
the value for the column to be updated
xmlObject
)

Implements java.sql.ResultSet.updateSQLXML.

Updates the designated column with a java.sql.SQLXML value.

public void
updateSQLXML(String
the name of the column
columnName
,
SQLXML
the column value
xmlObject
)

Implements java.sql.ResultSet.updateSQLXML.

Updates the designated column with a java.sql.SQLXML value.

public void
updateString(int
the first column is 1, the second is 2, and so on
columnIndex
,
String
the new column value
x
)

Implements java.sql.ResultSet.updateString.

Updates the designated column with a String value.

public void
updateString(String
the name of the column
columnName
,
String
the new column value
x
)

Implements java.sql.ResultSet.updateString.

Updates the designated column with a String value.

public void
updateTime(int
the first column is 1, the second is 2, and so on
columnIndex
,
Time
the new column value
x
)

Implements java.sql.ResultSet.updateTime.

Updates the designated column with a java.sql.Time value.

public void
updateTime(String
the name of the column
columnName
,
Time
the new column value
x
)

Implements java.sql.ResultSet.updateTime.

Updates the designated column with a java.sql.Time value.

public void
updateTimestamp(int
the first column is 1, the second is 2, and so on
columnIndex
,
Timestamp
the new column value
x
)

Implements java.sql.ResultSet.updateTimestamp.

Updates the designated column with a java.sql.Timestamp value.

public void
updateTimestamp(String
the name of the column
columnName
,
Timestamp
the new column value
x
)

Implements java.sql.ResultSet.updateTimestamp.

Updates the designated column with a java.sql.Timestamp value.

public boolean

Returns:

true if the last column value read was SQL NULL and false otherwise
wasNull
()

Implements java.sql.ResultSet.wasNull.

Reports whether the last column read from this rowset's ResultSet object had a value of SQL NULL.

Inherited from javax.sql.rowset.BaseRowSet:
addRowSetListenerclearParametersgetCommandgetDataSourceNamegetEscapeProcessinggetFetchSizegetMaxFieldSizegetMaxRowsgetParamsgetPasswordgetQueryTimeoutgetShowDeletedgetTransactionIsolationgetTypeMapgetUrlgetUsernameinitParamsisReadOnlynotifyCursorMovednotifyRowChangednotifyRowSetChangedremoveRowSetListenersetArraysetAsciiStreamsetAsciiStreamsetBigDecimalsetBinaryStreamsetBinaryStreamsetBlobsetBooleansetBytesetBytessetCharacterStreamsetCharacterStreamsetClobsetDatesetDatesetDoublesetEscapeProcessingsetFloatsetIntsetLongsetMaxFieldSizesetMaxRowssetNullsetNullsetObjectsetObjectsetObjectsetQueryTimeoutsetReadOnlysetRefsetShortsetShowDeletedsetStringsetTimesetTimesetTimestampsetTimestampsetTransactionIsolationsetTypeMapsetUnicodeStream