|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.jdbc.rowset.JdbcRowSetImpl
public class JdbcRowSetImpl
JdbcRowSet is an implementation of the JDBC RowSet API (javax.sql.RowSet). JdbcRowSet is a wrapper around a ResultSet object that makes it possible to use the result set as a JavaBeans component. Thus, a JdbcRowSet can be one of the beans that a tool makes available for creating a component-based application. Because a JdbcRowSet object is a connected rowset (that is, it continually maintains its connection to the database using a JDBC technology-enabled driver) it effectively makes the driver a JavaBeans component.
| 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 | |
|---|---|
JdbcRowSetImpl()
Constructs a default JdbcRowSet object. |
|
JdbcRowSetImpl(String url,
String user,
String password)
|
|
| Method Summary | |
|---|---|
boolean |
absolute(int i)
Moves the cursor to the given row number in this ResultSet object |
void |
addRowSetListener(RowSetListener rsl)
Registers the given listener so that it will be notified of events that occur on this RowSet object |
void |
afterLast()
Moves the cursor to the end of this ResultSet object, just after the last row |
void |
beforeFirst()
Moves the cursor to the front of this ResultSet object, just before the first row |
void |
cancelRowUpdates()
Cancels the updates made to the current row in this ResultSet object and notifies listeners that a row has changed. |
void |
clearParameters()
Clears the parameters set for this RowSet object's command. |
void |
clearWarnings()
Clears all warnings reported on this rowset's ResultSet object |
void |
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 |
void |
commit()
Commits all updates in this JdbcRowSet object by wrapping the internal Connection object and calling its commit method. |
void |
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 |
void |
execute()
Creates the internal ResultSet object for which this JdbcRowSet object is a wrapper, effectively making the result set a JavaBeans component. |
boolean |
first()
Moves the cursor to the first row in this ResultSet object |
Array |
getArray(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as an Array object in the Java programming language |
Array |
getArray(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as an Array object in the Java programming language |
InputStream |
getAsciiStream(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of ASCII characters |
InputStream |
getAsciiStream(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of ASCII characters |
boolean |
getAutoCommit()
Returns the auto-commit status with this JdbcRowSet |
BigDecimal |
getBigDecimal(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision. |
BigDecimal |
getBigDecimal(int i,
int scale)
Deprecated. |
BigDecimal |
getBigDecimal(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision. |
BigDecimal |
getBigDecimal(String s,
int n)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision. |
InputStream |
getBinaryStream(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a binary stream of uninterpreted bytes |
InputStream |
getBinaryStream(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a binary stream of uninterpreted bytes |
Blob |
getBlob(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a Blob object in the Java programming language |
Blob |
getBlob(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a Blob object in the Java programming language |
boolean |
getBoolean(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a boolean in the Java programming language. |
boolean |
getBoolean(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a boolean in the Java programming language. |
byte |
getByte(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a byte in the Java programming language. |
byte |
getByte(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a byte in the Java programming language. |
byte[] |
getBytes(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a byte array in the Java programming language. |
byte[] |
getBytes(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a byte array in the Java programming language. |
Reader |
getCharacterStream(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object. |
Reader |
getCharacterStream(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object. |
Clob |
getClob(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language |
Clob |
getClob(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language |
String |
getCommand()
Retrieves this RowSet object's command property |
int |
getConcurrency()
Retrieves the concurrency mode of this ResultSet object. |
String |
getCursorName()
Gets the name of the SQL cursor used by this rowset's ResultSet object |
String |
getDataSourceName()
Retrieves the logical name that identifies the data source for this RowSet object |
Date |
getDate(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date object in the Java programming language |
Date |
getDate(int i,
Calendar c)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date object in the Java programming language |
Date |
getDate(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date object in the Java programming language |
Date |
getDate(String s,
Calendar c)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date object in the Java programming language |
double |
getDouble(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a double in the Java programming language. |
double |
getDouble(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a double in the Java programming language. |
boolean |
getEscapeProcessing()
Retrieves whether escape processing is enabled for this RowSet object. |
int |
getFetchDirection()
Retrieves the fetch direction for this ResultSet object |
int |
getFetchSize()
Retrieves the fetch size for this ResultSet object. |
float |
getFloat(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a float in the Java programming language. |
float |
getFloat(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a float in the Java programming language. |
int |
getInt(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as an int in the Java programming language. |
int |
getInt(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as an int in the Java programming language. |
long |
getLong(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a long in the Java programming language |
long |
getLong(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a long in the Java programming language |
int[] |
getMatchColumnIndexes()
Retrieves the column id as int array that was set using setMatchColumn(int []) for this rowset |
String[] |
getMatchColumnNames()
Retrieves the column name as String array that was set using setMatchColumn(String []) for this rowset |
int |
getMaxFieldSize()
Retrieves the maximum number of bytes that may be returned for certain column values |
int |
getMaxRows()
Retrieves the maximum number of rows that this RowSet object can contain |
ResultSetMetaData |
getMetaData()
Retrieves the number, types and properties of this rowset's ResultSet object's columns. |
Object |
getObject(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language. |
Object |
getObject(int i,
Map m)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language. |
Object |
getObject(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language. |
Object |
getObject(String s,
Map m)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language. |
String |
getPassword()
Retrieves the password used to create a database connection. |
int |
getQueryTimeout()
Retrieves the maximum number of seconds the driver will wait for a statement to execute |
Ref |
getRef(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a Ref object in the Java programming language |
Ref |
getRef(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a Ref object in the Java programming language |
int |
getRow()
Retrieves the current row number |
RowSetWarning |
getRowSetWarnings()
Return the RowSetWarning object for the current row of a JdbcRowSetImpl |
short |
getShort(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a short in the Java programming language. |
short |
getShort(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a short in the Java programming language. |
boolean |
getShowDeleted()
See javax.sql.rowset.JdbcRowSet |
Statement |
getStatement()
Returns the Statement object that produced this ResultSet object. |
String |
getString(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language. |
String |
getString(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language. |
Time |
getTime(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language. |
Time |
getTime(int i,
Calendar c)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language. |
Time |
getTime(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language. |
Time |
getTime(String s,
Calendar c)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language. |
Timestamp |
getTimestamp(int i)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object |
Timestamp |
getTimestamp(int i,
Calendar c)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object |
Timestamp |
getTimestamp(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object |
Timestamp |
getTimestamp(String s,
Calendar c)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object |
int |
getTransactionIsolation()
Retrieves the transaction isolation level set for this RowSet object |
int |
getType()
Retrieves the type of this ResultSet object |
Map |
getTypeMap()
Retrieves the Map object associated with this RowSet object, which specifies the custom mapping of SQL user-defined types, if any |
InputStream |
getUnicodeStream(int i)
Deprecated. |
InputStream |
getUnicodeStream(String s)
Deprecated. |
String |
getUrl()
Retrieves the url property this RowSet object will use to create a connection if it uses the DriverManager instead of a DataSource object to establish the connection |
URL |
getURL(int a)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language |
URL |
getURL(String s)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language |
String |
getUsername()
Retrieves the username used to create a database connection for this RowSet object |
SQLWarning |
getWarnings()
Returns the first warning reported by calls on this rowset's ResultSet object. |
boolean |
isAfterLast()
Retrieves whether the cursor is after the last row in this ResultSet object |
boolean |
isBeforeFirst()
Retrieves whether the cursor is before the first row in this ResultSet object |
boolean |
isFirst()
Retrieves whether the cursor is on the first row of this ResultSet object |
boolean |
isLast()
Retrieves whether the cursor is on the last row of this ResultSet object |
boolean |
isReadOnly()
Retrieves whether this RowSet object is read-only |
boolean |
last()
Moves the cursor to the last row in this ResultSet object |
void |
moveToCurrentRow()
Moves the cursor to the remembered cursor position, usually the current row |
void |
moveToInsertRow()
Moves the cursor to the insert row. |
boolean |
next()
Moves the cursor down one row from its current position |
boolean |
previous()
Moves the cursor to the previous row in this ResultSet object |
boolean |
relative(int i)
Moves the cursor a relative number of rows, either positive or negative |
void |
removeRowSetListener(RowSetListener rsl)
Removes the specified listener from the list of components that will be notified when an event occurs on this RowSet object |
void |
rollback()
Rolls back all the updates in this JdbcRowSet object by wrapping the internal Connection object and calling its rollback method. |
void |
rollback(Savepoint s)
Rollbacks all the updates in the JdbcRowSet back to the last Savepoint transaction marker |
boolean |
rowDeleted()
Retrieves whether a row has been deleted |
boolean |
rowInserted()
Retrieves whether the current row has had an insertion |
boolean |
rowUpdated()
Retrieves whether the current row has been updated |
void |
setArray(int i,
Array x)
Sets the designated parameter in this RowSet object's command with the given Array value |
void |
setAsciiStream(int i,
InputStream is,
int x)
Sets the designated parameter in this RowSet object's command to the given java.io.InputStream value |
void |
setAutoCommit(boolean autoCommit)
Sets auto-commit on the internal Connection object with this JdbcRowSet |
void |
setBigDecimal(int i,
BigDecimal bd)
Sets the designated parameter in this RowSet object's command to the given java.math.BigDeciaml value. |
void |
setBinaryStream(int i,
InputStream is,
int x)
Sets the designated parameter in this RowSet object's command to the given java.io.InputStream value |
void |
setBlob(int i,
Blob b)
Sets the designated parameter in this RowSet object's command with the given Blob value. |
void |
setBoolean(int i,
boolean b)
Sets the designated parameter in this RowSet object's command to the given Java boolean value |
void |
setByte(int i,
byte b)
Sets the designated parameter in this RowSet object's command to the given Java byte value |
void |
setBytes(int i,
byte[] b)
Sets the designated parameter in this RowSet object's command to the given Java array of byte values |
void |
setCharacterStream(int i,
Reader r,
int x)
Sets the designated parameter in this RowSet object's command to the given java.io.Reader value |
void |
setClob(int i,
Clob c)
Sets the designated parameter in this RowSet object's command with the given Clob value |
void |
setCommand(String s)
Sets this RowSet object's command property to the given SQL query. |
void |
setConcurrency(int c)
Sets the concurrency of this RowSet object to the given concurrency level. |
void |
setDataSourceName(String s)
Sets the data source name property for this RowSet object to the given String |
void |
setDate(int i,
Date d)
Sets the designated parameter in this RowSet object's command with the given java.sql.Date value |
void |
setDate(int i,
Date d,
Calendar c)
Sets the designated parameter in this RowSet object's command with the given java.sql.Date value. |
void |
setDouble(int i,
double d)
Sets the designated parameter in this RowSet object's command to the given Java double value. |
void |
setFetchDirection(int i)
Gives a hint as to the direction in which the rows in this ResultSet object will be processed. |
void |
setFetchSize(int i)
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. |
void |
setFloat(int i,
float f)
Sets the designated parameter in this RowSet object's command to the given Java float value. |
void |
setInt(int i,
int x)
Sets the designated parameter in this RowSet object's command to the given Java int value |
void |
setLong(int i,
long l)
Sets the designated parameter in this RowSet object's command to the given Java long value |
void |
setMatchColumn(int columnIdx)
Sets the designated parameter to the given int object. |
void |
setMatchColumn(int[] columnIdxes)
Sets the designated parameter to the given int array. |
void |
setMatchColumn(String columnName)
Sets the designated parameter to the given String object. |
void |
setMatchColumn(String[] columnNames)
Sets the designated parameter to the given String array. |
void |
setMaxFieldSize(int x)
Sets the maximum number of bytes that can be returned for a column value to the given number of bytes. |
void |
setMaxRows(int n)
Sets the maximum number of rows that this RowSet object can contain to the specified number |
void |
setNull(int i,
int x)
Sets the designated parameter in this RowSet object's SQL command to SQL NULL |
void |
setNull(int i,
int x,
String s)
Sets the designated parameter in this RowSet object's SQL command to SQL NULL |
void |
setObject(int i,
Object o)
Sets the designated parameter in this RowSet object's command with a Java Object |
void |
setObject(int i,
Object o,
int x)
Sets the designated parameter in this RowSet object's command with a Java Object |
void |
setObject(int i,
Object o,
int x,
int scale)
Sets the designated parameter in this RowSet object's command with a Java Object |
void |
setPassword(String p)
Sets the database password for this RowSet object to the given String. |
void |
setQueryTimeout(int t)
Sets the maximum time the driver will wait for a statement to execute to the given number of seconds |
void |
setReadOnly(boolean b)
Sets whether this RowSet object is read-only to the given boolean. |
void |
setRef(int i,
Ref r)
Sets the designated parameter in this RowSet object's command with the given Ref value |
void |
setShort(int i,
short s)
Sets the designated parameter in this RowSet object's command to the given Java short value |
void |
setShowDeleted(boolean b)
See javax.sql.rowset.JdbcRowSet |
void |
setString(int i,
String s)
Sets the designated parameter in this RowSet object's command to the given Java String value |
void |
setTime(int i,
Time t)
Sets the designated parameter in this RowSet object's command to the given java.sql.Time value |
void |
setTime(int i,
Time t,
Calendar c)
Sets the designated parameter in this RowSet object's command to the given java.sql.Time value |
void |
setTimestamp(int i,
Timestamp t)
Sets the designated parameter in this RowSet object's command to the given java.sql.Timestamp value |
void |
setTimestamp(int i,
Timestamp t,
Calendar c)
Sets the designated parameter in this RowSet object's command to the given java.sql.Timestamp value |
void |
setTransactionIsolation(int i)
Sets the transaction isolation level for this RowSet obejct. |
void |
setType(int t)
Sets the type of this RowSet object to the given type. |
void |
setTypeMap(Map m)
Installs the given java.util.Map object as the default type map for this RowSet object |
void |
setUrl(String u)
Sets the URL this RowSet object will use when it uses the DriverManager to create a connection. |
void |
setUsername(String un)
Sets the username property for this RowSet object to the given String |
void |
unsetMatchColumn(int columnIdx)
Unsets the designated parameter to the given int object |
void |
unsetMatchColumn(int[] columnIdxes)
Unsets the designated parameter to the given int array |
void |
unsetMatchColumn(String columnName)
Unsets the designated parameter to the given string object |
void |
unsetMatchColumn(String[] columnNames)
Unsets the designated parameter to the given String array. |
void |
updateArray(int a,
Array b)
Updates the designated column with a java.sql.Array value |
void |
updateArray(String s,
Array b)
Updates the designated column with a java.sql.Array value |
void |
updateAsciiStream(int i,
InputStream is,
int n)
Updates the designated column with an ascii stream value |
void |
updateAsciiStream(String s,
InputStream is,
int x)
Updates the designated column with an ascii stream value |
void |
updateBigDecimal(int i,
BigDecimal bd)
Updates the designated column with a java.sql.BigDecimal value |
void |
updateBigDecimal(String s,
BigDecimal bd)
Updates the designated column with a java.sql.BigDecimal value |
void |
updateBinaryStream(int i,
InputStream is,
int n)
Updates the designated column with a binary stream value |
void |
updateBinaryStream(String s,
InputStream is,
int x)
Updates the designated column with a binary stream value |
void |
updateBlob(int a,
Blob b)
Updates the designated column with a java.sql.Blob value |
void |
updateBlob(String s,
Blob b)
Updates the designated column with a java.sql.Blob value |
void |
updateBoolean(int i,
boolean b)
Updates the designated column with a boolean value |
void |
updateByte(int i,
byte b)
Updates the designated column with a byte value |
void |
updateByte(String s,
byte b)
Updates the designated column with a byte value |
void |
updateBytes(int i,
byte[] b)
Updates the designated column with a byte array value. |
void |
updateBytes(String s,
byte[] b)
Updates the designated column with a byte array value. |
void |
updateCharacterStream(int i,
Reader r,
int n)
Updates the designated column with a character stream value |
void |
updateCharacterStream(String s,
Reader r,
int x)
Updates the designated column with a character stream value |
void |
updateClob(int a,
Clob b)
Updates the designated column with a java.sql.Clob value |
void |
updateClob(String s,
Clob b)
Updates the designated column with a java.sql.Clob value |
void |
updateDate(int i,
Date d)
Updates the designated column with a java.sql.Date value |
void |
updateDate(String s,
Date d)
Updates the designated column with a java.sql.Date value |
void |
updateDouble(int i,
double d)
Updates the designated column with a double value |
void |
updateDouble(String s,
double d)
Updates the designated column with a double value |
void |
updateFloat(int i,
float f)
Updates the designated column with a float value |
void |
updateFloat(String s,
float f)
Updates the designated column with a float value |
void |
updateInt(int i,
int x)
Updates the designated column with an int value |
void |
updateInt(String s,
int x)
Updates the designated column with an int value |
void |
updateLong(int i,
long l)
Updates the designated column with a long value |
void |
updateNull(int i)
Gives a nullable column a null value |
void |
updateNull(String s)
Gives a nullable column a null value |
void |
updateObject(int i,
Object o)
Updates the designated column with an Object value |
void |
updateObject(int i,
Object o,
int x)
Updates the designated column with an Object value |
void |
updateObject(String s,
Object o)
Updates the designated column with an Object value |
void |
updateObject(String s,
Object o,
int x)
Updates the designated column with an Object value |
void |
updateRef(int a,
Ref b)
Updates the designated column with a java.sql.Ref value |
void |
updateRef(String s,
Ref b)
Updates the designated column with a java.sql.Ref value |
void |
updateShort(int i,
short s)
Updates the designated column with a short value |
void |
updateShort(String s,
short x)
Updates the designated column with a short value |
void |
updateString(int i,
String s)
Updates the designated column with a String value. |
void |
updateString(String s,
String n)
Updates the designated column with a String value. |
void |
updateTime(int i,
Time t)
Updates the designated column with a java.sql.Time value |
void |
updateTime(String s,
Time t)
Updates the designated column with a java.sql.Time value |
void |
updateTimestamp(int i,
Timestamp t)
Updates the designated column with a java.sql.Timestamp value |
void |
updateTimestamp(String s,
Timestamp t)
Updates the designated column with a java.sql.Timestamp value |
boolean |
wasNull()
Reports whether the last column read had a value of SQL NULL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.sql.RowSet |
|---|
setEscapeProcessing |
| Methods inherited from interface java.sql.ResultSet |
|---|
findColumn, insertRow, refreshRow, updateBoolean, updateLong, updateRow |
| Constructor Detail |
|---|
public JdbcRowSetImpl()
public JdbcRowSetImpl(String url,
String user,
String password)
| Method Detail |
|---|
public void addRowSetListener(RowSetListener rsl)
addRowSetListener in interface RowSetpublic void removeRowSetListener(RowSetListener rsl)
removeRowSetListener in interface RowSet
public ResultSetMetaData getMetaData()
throws SQLException
getMetaData in interface ResultSetSQLExceptionpublic boolean isReadOnly()
isReadOnly in interface RowSetpublic void setReadOnly(boolean b)
setReadOnly in interface RowSet
public boolean getShowDeleted()
throws SQLException
getShowDeleted in interface JdbcRowSetSQLException
public void setShowDeleted(boolean b)
throws SQLException
setShowDeleted in interface JdbcRowSetSQLException
public SQLWarning getWarnings()
throws SQLException
getWarnings in interface ResultSetSQLException
public void clearWarnings()
throws SQLException
clearWarnings in interface ResultSetSQLExceptionpublic RowSetWarning getRowSetWarnings()
getRowSetWarnings in interface JdbcRowSet
public String getCursorName()
throws SQLException
getCursorName in interface ResultSetSQLException
public Statement getStatement()
throws SQLException
getStatement in interface ResultSetSQLExceptionpublic String getDataSourceName()
getDataSourceName in interface RowSetpublic void setDataSourceName(String s)
setDataSourceName in interface RowSetpublic String getUrl()
getUrl in interface RowSetpublic void setUrl(String u)
setUrl in interface RowSetpublic String getUsername()
getUsername in interface RowSetpublic void setUsername(String un)
setUsername in interface RowSetpublic String getPassword()
getPassword in interface RowSetpublic void setPassword(String p)
setPassword in interface RowSetpublic int getTransactionIsolation()
getTransactionIsolation in interface RowSet
public void setTransactionIsolation(int i)
throws SQLException
setTransactionIsolation in interface RowSetSQLExceptionpublic String getCommand()
getCommand in interface RowSetpublic void setCommand(String s)
setCommand in interface RowSetpublic int getQueryTimeout()
getQueryTimeout in interface RowSetpublic void setQueryTimeout(int t)
setQueryTimeout in interface RowSetpublic int getMaxRows()
getMaxRows in interface RowSetpublic void setMaxRows(int n)
setMaxRows in interface RowSetpublic int getMaxFieldSize()
getMaxFieldSize in interface RowSetpublic void setMaxFieldSize(int x)
setMaxFieldSize in interface RowSetpublic boolean getEscapeProcessing()
getEscapeProcessing in interface RowSetpublic int getConcurrency()
getConcurrency in interface ResultSetpublic void setConcurrency(int c)
setConcurrency in interface RowSetpublic int getType()
getType in interface ResultSetpublic void setType(int t)
setType in interface RowSetpublic int getFetchDirection()
getFetchDirection in interface ResultSet
public void setFetchDirection(int i)
throws SQLException
setFetchDirection in interface ResultSetSQLExceptionpublic int getFetchSize()
getFetchSize in interface ResultSetpublic void setFetchSize(int i)
setFetchSize in interface ResultSetpublic Map getTypeMap()
getTypeMap in interface RowSetpublic void setTypeMap(Map m)
setTypeMap in interface RowSetpublic void clearParameters()
clearParameters in interface RowSet
public int getRow()
throws SQLException
getRow in interface ResultSetSQLException
public void moveToInsertRow()
throws SQLException
moveToInsertRow in interface ResultSetSQLException
public void moveToCurrentRow()
throws SQLException
moveToCurrentRow in interface ResultSetSQLException
public boolean absolute(int i)
throws SQLException
absolute in interface ResultSetSQLException
public void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetSQLException
public boolean first()
throws SQLException
first in interface ResultSetSQLException
public boolean last()
throws SQLException
last in interface ResultSetSQLException
public void afterLast()
throws SQLException
afterLast in interface ResultSetSQLException
public boolean relative(int i)
throws SQLException
relative in interface ResultSetSQLException
public boolean next()
throws SQLException
next in interface ResultSetSQLException
public boolean previous()
throws SQLException
previous in interface ResultSetSQLException
public boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetSQLException
public boolean isAfterLast()
throws SQLException
isAfterLast in interface ResultSetSQLException
public boolean isFirst()
throws SQLException
isFirst in interface ResultSetSQLException
public boolean isLast()
throws SQLException
isLast in interface ResultSetSQLException
public boolean rowUpdated()
throws SQLException
rowUpdated in interface ResultSetSQLException
public boolean rowInserted()
throws SQLException
rowInserted in interface ResultSetSQLException
public boolean rowDeleted()
throws SQLException
rowDeleted in interface ResultSetSQLException
public void setArray(int i,
Array x)
throws SQLException
setArray in interface RowSetSQLException
public void setAsciiStream(int i,
InputStream is,
int x)
throws SQLException
setAsciiStream in interface RowSetSQLException
public void setBigDecimal(int i,
BigDecimal bd)
throws SQLException
setBigDecimal in interface RowSetSQLException
public void setBinaryStream(int i,
InputStream is,
int x)
throws SQLException
setBinaryStream in interface RowSetSQLException
public void setBlob(int i,
Blob b)
throws SQLException
setBlob in interface RowSetSQLException
public void setBoolean(int i,
boolean b)
throws SQLException
setBoolean in interface RowSetSQLException
public void setByte(int i,
byte b)
throws SQLException
setByte in interface RowSetSQLException
public void setBytes(int i,
byte[] b)
throws SQLException
setBytes in interface RowSetSQLException
public void setCharacterStream(int i,
Reader r,
int x)
throws SQLException
setCharacterStream in interface RowSetSQLException
public void setClob(int i,
Clob c)
throws SQLException
setClob in interface RowSetSQLException
public void setDate(int i,
Date d)
throws SQLException
setDate in interface RowSetSQLException
public void setDate(int i,
Date d,
Calendar c)
throws SQLException
setDate in interface RowSetSQLException
public void setDouble(int i,
double d)
throws SQLException
setDouble in interface RowSetSQLException
public void setFloat(int i,
float f)
throws SQLException
setFloat in interface RowSetSQLException
public void setInt(int i,
int x)
throws SQLException
setInt in interface RowSetSQLException
public void setLong(int i,
long l)
throws SQLException
setLong in interface RowSetSQLException
public void setNull(int i,
int x)
throws SQLException
setNull in interface RowSetSQLException
public void setNull(int i,
int x,
String s)
throws SQLException
setNull in interface RowSetSQLException
public void setObject(int i,
Object o)
throws SQLException
setObject in interface RowSetSQLException
public void setObject(int i,
Object o,
int x)
throws SQLException
setObject in interface RowSetSQLException
public void setObject(int i,
Object o,
int x,
int scale)
throws SQLException
setObject in interface RowSetSQLException
public void setRef(int i,
Ref r)
throws SQLException
setRef in interface RowSetSQLException
public void setShort(int i,
short s)
throws SQLException
setShort in interface RowSetSQLException
public void setString(int i,
String s)
throws SQLException
setString in interface RowSetSQLException
public void setTime(int i,
Time t)
throws SQLException
setTime in interface RowSetSQLException
public void setTime(int i,
Time t,
Calendar c)
throws SQLException
setTime in interface RowSetSQLException
public void setTimestamp(int i,
Timestamp t)
throws SQLException
setTimestamp in interface RowSetSQLException
public void setTimestamp(int i,
Timestamp t,
Calendar c)
throws SQLException
setTimestamp in interface RowSetSQLException
public boolean wasNull()
throws SQLException
wasNull in interface ResultSetSQLException
public String getString(int i)
throws SQLException
getString in interface ResultSetSQLException
public String getString(String s)
throws SQLException
getString in interface ResultSetSQLException
public int getInt(int i)
throws SQLException
getInt in interface ResultSetSQLException
public BigDecimal getBigDecimal(int i,
int scale)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public BigDecimal getBigDecimal(int i)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public BigDecimal getBigDecimal(String s)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public boolean getBoolean(String s)
throws SQLException
getBoolean in interface ResultSetSQLException
public boolean getBoolean(int i)
throws SQLException
getBoolean in interface ResultSetSQLException
public byte getByte(String s)
throws SQLException
getByte in interface ResultSetSQLException
public byte getByte(int i)
throws SQLException
getByte in interface ResultSetSQLException
public int getInt(String s)
throws SQLException
getInt in interface ResultSetSQLException
public long getLong(int i)
throws SQLException
getLong in interface ResultSetSQLException
public long getLong(String s)
throws SQLException
getLong in interface ResultSetSQLException
public float getFloat(int i)
throws SQLException
getFloat in interface ResultSetSQLException
public float getFloat(String s)
throws SQLException
getFloat in interface ResultSetSQLException
public double getDouble(int i)
throws SQLException
getDouble in interface ResultSetSQLException
public double getDouble(String s)
throws SQLException
getDouble in interface ResultSetSQLException
public short getShort(String s)
throws SQLException
getShort in interface ResultSetSQLException
public short getShort(int i)
throws SQLException
getShort in interface ResultSetSQLException
public Object getObject(int i)
throws SQLException
getObject in interface ResultSetSQLException
public Object getObject(String s)
throws SQLException
getObject in interface ResultSetSQLException
public Object getObject(int i,
Map m)
throws SQLException
getObject in interface ResultSetSQLException
public byte[] getBytes(int i)
throws SQLException
getBytes in interface ResultSetSQLException
public Date getDate(int i)
throws SQLException
getDate in interface ResultSetSQLException
public Time getTime(int i)
throws SQLException
getTime in interface ResultSetSQLException
public Timestamp getTimestamp(int i)
throws SQLException
getTimestamp in interface ResultSetSQLException
public Date getDate(int i,
Calendar c)
throws SQLException
getDate in interface ResultSetSQLException
public Time getTime(int i,
Calendar c)
throws SQLException
getTime in interface ResultSetSQLException
public Timestamp getTimestamp(int i,
Calendar c)
throws SQLException
getTimestamp in interface ResultSetSQLException
public InputStream getAsciiStream(int i)
throws SQLException
getAsciiStream in interface ResultSetSQLException
public InputStream getUnicodeStream(int i)
throws SQLException
getUnicodeStream in interface ResultSetSQLException
public InputStream getBinaryStream(int i)
throws SQLException
getBinaryStream in interface ResultSetSQLException
public Reader getCharacterStream(int i)
throws SQLException
getCharacterStream in interface ResultSetSQLException
public Ref getRef(int i)
throws SQLException
getRef in interface ResultSetSQLException
public Blob getBlob(int i)
throws SQLException
getBlob in interface ResultSetSQLException
public Clob getClob(int i)
throws SQLException
getClob in interface ResultSetSQLException
public Array getArray(int i)
throws SQLException
getArray in interface ResultSetSQLException
public BigDecimal getBigDecimal(String s,
int n)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public byte[] getBytes(String s)
throws SQLException
getBytes in interface ResultSetSQLException
public Date getDate(String s)
throws SQLException
getDate in interface ResultSetSQLException
public Time getTime(String s)
throws SQLException
getTime in interface ResultSetSQLException
public Timestamp getTimestamp(String s)
throws SQLException
getTimestamp in interface ResultSetSQLException
public InputStream getAsciiStream(String s)
throws SQLException
getAsciiStream in interface ResultSetSQLException
public InputStream getUnicodeStream(String s)
throws SQLException
getUnicodeStream in interface ResultSetSQLException
public InputStream getBinaryStream(String s)
throws SQLException
getBinaryStream in interface ResultSetSQLException
public Object getObject(String s,
Map m)
throws SQLException
getObject in interface ResultSetSQLException
public Ref getRef(String s)
throws SQLException
getRef in interface ResultSetSQLException
public Blob getBlob(String s)
throws SQLException
getBlob in interface ResultSetSQLException
public Clob getClob(String s)
throws SQLException
getClob in interface ResultSetSQLException
public Array getArray(String s)
throws SQLException
getArray in interface ResultSetSQLException
public Date getDate(String s,
Calendar c)
throws SQLException
getDate in interface ResultSetSQLException
public Time getTime(String s,
Calendar c)
throws SQLException
getTime in interface ResultSetSQLException
public Timestamp getTimestamp(String s,
Calendar c)
throws SQLException
getTimestamp in interface ResultSetSQLException
public Reader getCharacterStream(String s)
throws SQLException
getCharacterStream in interface ResultSetSQLException
public URL getURL(int a)
throws SQLException
getURL in interface ResultSetSQLException
public URL getURL(String s)
throws SQLException
getURL in interface ResultSetSQLException
public void updateString(int i,
String s)
throws SQLException
updateString in interface ResultSetSQLException
public void updateInt(int i,
int x)
throws SQLException
updateInt in interface ResultSetSQLException
public void updateNull(int i)
throws SQLException
updateNull in interface ResultSetSQLException
public void updateAsciiStream(int i,
InputStream is,
int n)
throws SQLException
updateAsciiStream in interface ResultSetSQLException
public void updateBinaryStream(int i,
InputStream is,
int n)
throws SQLException
updateBinaryStream in interface ResultSetSQLException
public void updateCharacterStream(int i,
Reader r,
int n)
throws SQLException
updateCharacterStream in interface ResultSetSQLException
public void updateObject(int i,
Object o,
int x)
throws SQLException
updateObject in interface ResultSetSQLException
public void updateObject(int i,
Object o)
throws SQLException
updateObject in interface ResultSetSQLException
public void updateBoolean(int i,
boolean b)
throws SQLException
updateBoolean in interface ResultSetSQLException
public void updateLong(int i,
long l)
throws SQLException
updateLong in interface ResultSetSQLException
public void updateShort(int i,
short s)
throws SQLException
updateShort in interface ResultSetSQLException
public void updateByte(int i,
byte b)
throws SQLException
updateByte in interface ResultSetSQLException
public void updateBigDecimal(int i,
BigDecimal bd)
throws SQLException
updateBigDecimal in interface ResultSetSQLException
public void updateDouble(int i,
double d)
throws SQLException
updateDouble in interface ResultSetSQLException
public void updateFloat(int i,
float f)
throws SQLException
updateFloat in interface ResultSetSQLException
public void updateBytes(int i,
byte[] b)
throws SQLException
updateBytes in interface ResultSetSQLException
public void updateDate(int i,
Date d)
throws SQLException
updateDate in interface ResultSetSQLException
public void updateTimestamp(int i,
Timestamp t)
throws SQLException
updateTimestamp in interface ResultSetSQLException
public void updateTime(int i,
Time t)
throws SQLException
updateTime in interface ResultSetSQLException
public void updateString(String s,
String n)
throws SQLException
updateString in interface ResultSetSQLException
public void updateInt(String s,
int x)
throws SQLException
updateInt in interface ResultSetSQLException
public void updateNull(String s)
throws SQLException
updateNull in interface ResultSetSQLException
public void updateObject(String s,
Object o)
throws SQLException
updateObject in interface ResultSetSQLException
public void updateAsciiStream(String s,
InputStream is,
int x)
throws SQLException
updateAsciiStream in interface ResultSetSQLException
public void updateBinaryStream(String s,
InputStream is,
int x)
throws SQLException
updateBinaryStream in interface ResultSetSQLException
public void updateCharacterStream(String s,
Reader r,
int x)
throws SQLException
updateCharacterStream in interface ResultSetSQLException
public void updateObject(String s,
Object o,
int x)
throws SQLException
updateObject in interface ResultSetSQLException
public void updateByte(String s,
byte b)
throws SQLException
updateByte in interface ResultSetSQLException
public void updateShort(String s,
short x)
throws SQLException
updateShort in interface ResultSetSQLException
public void updateFloat(String s,
float f)
throws SQLException
updateFloat in interface ResultSetSQLException
public void updateDouble(String s,
double d)
throws SQLException
updateDouble in interface ResultSetSQLException
public void updateBigDecimal(String s,
BigDecimal bd)
throws SQLException
updateBigDecimal in interface ResultSetSQLException
public void updateBytes(String s,
byte[] b)
throws SQLException
updateBytes in interface ResultSetSQLException
public void updateDate(String s,
Date d)
throws SQLException
updateDate in interface ResultSetSQLException
public void updateTime(String s,
Time t)
throws SQLException
updateTime in interface ResultSetSQLException
public void updateTimestamp(String s,
Timestamp t)
throws SQLException
updateTimestamp in interface ResultSetSQLException
public void updateBlob(int a,
Blob b)
throws SQLException
updateBlob in interface ResultSetSQLException
public void updateBlob(String s,
Blob b)
throws SQLException
updateBlob in interface ResultSetSQLException
public void updateRef(int a,
Ref b)
throws SQLException
updateRef in interface ResultSetSQLException
public void updateRef(String s,
Ref b)
throws SQLException
updateRef in interface ResultSetSQLException
public void updateClob(int a,
Clob b)
throws SQLException
updateClob in interface ResultSetSQLException
public void updateClob(String s,
Clob b)
throws SQLException
updateClob in interface ResultSetSQLException
public void updateArray(int a,
Array b)
throws SQLException
updateArray in interface ResultSetSQLException
public void updateArray(String s,
Array b)
throws SQLException
updateArray in interface ResultSetSQLException
public int[] getMatchColumnIndexes()
throws SQLException
getMatchColumnIndexes in interface JoinableSQLException
public String[] getMatchColumnNames()
throws SQLException
getMatchColumnNames in interface JoinableSQLException
public void setMatchColumn(int columnIdx)
throws SQLException
setMatchColumn in interface JoinableSQLException
public void setMatchColumn(String columnName)
throws SQLException
setMatchColumn in interface JoinableSQLException
public void setMatchColumn(int[] columnIdxes)
throws SQLException
setMatchColumn in interface JoinableSQLException
public void setMatchColumn(String[] columnNames)
throws SQLException
setMatchColumn in interface JoinableSQLException
public void unsetMatchColumn(int columnIdx)
throws SQLException
unsetMatchColumn in interface JoinableSQLException
public void unsetMatchColumn(String columnName)
throws SQLException
unsetMatchColumn in interface JoinableSQLException
public void unsetMatchColumn(int[] columnIdxes)
throws SQLException
unsetMatchColumn in interface JoinableSQLException
public void unsetMatchColumn(String[] columnNames)
throws SQLException
unsetMatchColumn in interface JoinableSQLException
public void execute()
throws SQLException
execute in interface RowSetSQLException
public void deleteRow()
throws SQLException
deleteRow in interface ResultSetSQLException
public void cancelRowUpdates()
throws SQLException
cancelRowUpdates in interface ResultSetSQLException
public void commit()
throws SQLException
commit in interface JdbcRowSetSQLException
public boolean getAutoCommit()
throws SQLException
getAutoCommit in interface JdbcRowSetSQLException
public void setAutoCommit(boolean autoCommit)
throws SQLException
setAutoCommit in interface JdbcRowSetSQLException
public void rollback()
throws SQLException
rollback in interface JdbcRowSetSQLException
public void rollback(Savepoint s)
throws SQLException
rollback in interface JdbcRowSetSQLException
public void close()
throws SQLException
close in interface ResultSetSQLException
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs100 Copyright 2006 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||