|
i-net JDBC drivers for MS SQL Server | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.inet.tds.JDBCRowSet
public class JDBCRowSet
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 | |
---|---|
JDBCRowSet()
|
Method Summary | |
---|---|
boolean |
absolute(int row)
Moves the cursor to the given row number in this rowset's ResultSet object. |
void |
addRowSetListener(javax.sql.RowSetListener listener)
|
void |
afterLast()
Moves the cursor to the end of this rowset's ResultSet object, just after the last row. |
void |
beforeFirst()
Moves the cursor to the front of this rowset's 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()
|
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 |
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 ResultSet object for which this JdbcRowSet object is a wrapper, effectively making the result set a JavaBeans component. |
void |
execute(java.sql.Connection connection)
|
int |
findColumn(java.lang.String columnName)
Maps the given ResultSet column name to its ResultSet column index. |
boolean |
first()
Moves the cursor to the first row in this rowset's ResultSet object. |
java.sql.Array |
getArray(int i)
Returns the value of the designated column in the current row of this rowset's ResultSet object as an Array object. |
java.sql.Array |
getArray(java.lang.String colName)
Returns the value of the designated column in the current row of this rowset's ResultSet object as an Array object. |
java.io.InputStream |
getAsciiStream(int columnIndex)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of ASCII characters. |
java.io.InputStream |
getAsciiStream(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of ASCII characters. |
java.math.BigDecimal |
getBigDecimal(int columnIndex)
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. |
java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale)
Deprecated. Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.BigDecimal. |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName)
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. |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale)
Deprecated. Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.math.BigDecimal. |
java.io.InputStream |
getBinaryStream(int columnIndex)
Gets the value of a column in the current row as a stream of Gets the value of the designated column in the current row of this rowset's ResultSet object as a binary stream of uninterpreted bytes. |
java.io.InputStream |
getBinaryStream(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of uninterpreted bytes. |
java.sql.Blob |
getBlob(int columnIndex)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Blob object. |
java.sql.Blob |
getBlob(java.lang.String columnName)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Blob object. |
boolean |
getBoolean(int columnIndex)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a boolean. |
boolean |
getBoolean(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a boolean. |
byte |
getByte(int columnIndex)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte. |
byte |
getByte(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte. |
byte[] |
getBytes(int columnIndex)
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. |
byte[] |
getBytes(java.lang.String columnName)
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. |
java.io.Reader |
getCharacterStream(int columnIndex)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.io.Reader object. |
java.io.Reader |
getCharacterStream(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.io.Reader object. |
java.sql.Clob |
getClob(int columnIndex)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Clob object. |
java.sql.Clob |
getClob(java.lang.String columnName)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Clob object. |
java.lang.String |
getCommand()
|
int |
getConcurrency()
Returns the concurrency mode of this rowset's ResultSet object. |
java.sql.Connection |
getConnection()
|
java.lang.String |
getCursorName()
Gets the name of the SQL cursor used by this rowset's ResultSet object. |
java.lang.String |
getDataSourceName()
|
java.sql.Date |
getDate(int columnIndex)
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. |
java.sql.Date |
getDate(int columnIndex,
java.util.Calendar cal)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object. |
java.sql.Date |
getDate(java.lang.String columnName)
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. |
java.sql.Date |
getDate(java.lang.String columnName,
java.util.Calendar cal)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object. |
double |
getDouble(int columnIndex)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a double. |
double |
getDouble(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a double. |
boolean |
getEscapeProcessing()
|
int |
getFetchDirection()
Returns the fetch direction for this ResultSet object. |
int |
getFetchSize()
|
float |
getFloat(int columnIndex)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a float. |
float |
getFloat(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a float. |
int |
getInt(int columnIndex)
Gets the value of the designated column in the current row of this rowset's ResultSet object as an int. |
int |
getInt(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as an int. |
long |
getLong(int columnIndex)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a long. |
long |
getLong(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a long. |
int |
getMaxFieldSize()
|
int |
getMaxRows()
|
java.sql.ResultSetMetaData |
getMetaData()
Retrieves the number, types and properties of this rowset's ResultSet object's columns. |
java.lang.Object |
getObject(int columnIndex)
Gets the value of the designated column in the current row of this rowset's ResultSet object as an Object. |
java.lang.Object |
getObject(int columnIndex,
java.util.Map map)
Returns the value of the designated column in the current row of this rowset's ResultSet object as an Object. |
java.lang.Object |
getObject(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as an Object. |
java.lang.Object |
getObject(java.lang.String columnName,
java.util.Map map)
Returns the value of the designated column in the current row of this rowset's ResultSet object as an Object. |
java.lang.Object[] |
getParams()
|
java.lang.String |
getPassword()
|
int |
getQueryTimeout()
|
java.sql.Ref |
getRef(int columnIndex)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Ref object. |
java.sql.Ref |
getRef(java.lang.String columnName)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Ref object. |
int |
getRow()
Retrieves the current row number. |
short |
getShort(int columnIndex)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a short. |
short |
getShort(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a short. |
java.sql.Statement |
getStatement()
Returns the Statement object that produced this ResultSet object. |
java.lang.String |
getString(int columnIndex)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a String. |
java.lang.String |
getString(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a String. |
java.sql.Time |
getTime(int columnIndex)
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. |
java.sql.Time |
getTime(int columnIndex,
java.util.Calendar cal)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object. |
java.sql.Time |
getTime(java.lang.String columnName)
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. |
java.sql.Time |
getTime(java.lang.String columnName,
java.util.Calendar cal)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object. |
java.sql.Timestamp |
getTimestamp(int columnIndex)
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. |
java.sql.Timestamp |
getTimestamp(int columnIndex,
java.util.Calendar cal)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object. |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object. |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object. |
int |
getTransactionIsolation()
|
int |
getType()
Returns the fetch size for this ResultSet object. |
java.util.Map |
getTypeMap()
|
java.io.InputStream |
getUnicodeStream(int columnIndex)
Deprecated. use getCharacterStream in place of getUnicodeStream Gets the value of a column in the current row as a stream of Gets the value of the designated column in the current row of this rowset's ResultSet object as as a stream of Unicode characters. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving largeLONGVARCHARvalues. The JDBC driver will do any necessary conversion from the database format into Unicode. The byte format of the Unicode stream must be Java UTF-8, as specified in the Java virtual machine specification. Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getXXX method implicitly closes the stream. Also, a stream may return 0 when the method InputStream.available is called whether there is data available or not. |
java.io.InputStream |
getUnicodeStream(java.lang.String columnName)
Deprecated. Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of Unicode characters. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARCHAR values. The JDBC driver will do any necessary conversion from the database format into Unicode. The byte format of the Unicode stream must be Java UTF-8, as defined in the Java virtual machine specification. Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getXXX method implicitly closes the stream. Also, a stream may return 0 when the method available is called whether there is data available or not. |
java.lang.String |
getUrl()
|
java.net.URL |
getURL(int columnIndex)
|
java.net.URL |
getURL(java.lang.String columnName)
|
java.lang.String |
getUsername()
|
java.sql.SQLWarning |
getWarnings()
Returns the first warning reported by calls on this rowset's ResultSet object. |
void |
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. |
boolean |
isAfterLast()
Indicates whether the cursor is after the last row in this rowset's ResultSet object. |
boolean |
isBeforeFirst()
Indicates whether the cursor is before the first row in this rowset's ResultSet object. |
boolean |
isFirst()
Indicates whether the cursor is on the first row of this rowset's ResultSet object. |
boolean |
isLast()
Indicates whether the cursor is on the last row of this rowset's ResultSet object. |
boolean |
isReadOnly()
|
boolean |
last()
Moves the cursor to the last row in this rowset's 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 for this rowset's ResultSet object down one row from its current position. |
boolean |
previous()
Moves the cursor to the previous row in this ResultSet object. |
void |
refreshRow()
Refreshes the current row of this rowset's ResultSet object with its most recent value in the database. |
boolean |
relative(int rows)
Moves the cursor a relative number of rows, either positive or negative. |
void |
removeRowSetListener(javax.sql.RowSetListener listener)
|
boolean |
rowDeleted()
Indicates whether a row has been deleted. |
boolean |
rowInserted()
Indicates whether the current row has had an insertion. |
boolean |
rowUpdated()
Indicates whether the current row has been updated. |
void |
setArray(int i,
java.sql.Array x)
|
void |
setAsciiStream(int i,
java.io.InputStream x,
int length)
|
void |
setBigDecimal(int i,
java.math.BigDecimal x)
|
void |
setBinaryStream(int i,
java.io.InputStream x,
int length)
|
void |
setBlob(int i,
java.sql.Blob x)
|
void |
setBoolean(int i,
boolean x)
|
void |
setByte(int i,
byte x)
|
void |
setBytes(int i,
byte[] x)
|
void |
setCharacterStream(int i,
java.io.Reader x,
int length)
|
void |
setClob(int i,
java.sql.Clob x)
|
void |
setCommand(java.lang.String cmd)
|
void |
setConcurrency(int concurrency)
|
void |
setDataSourceName(java.lang.String name)
|
void |
setDate(int i,
java.sql.Date x)
|
void |
setDate(int i,
java.sql.Date x,
java.util.Calendar cal)
|
void |
setDouble(int i,
double x)
|
void |
setEscapeProcessing(boolean enable)
|
void |
setFetchDirection(int direction)
Gives a hint as to the direction in which the rows in this ResultSet object will be processed. |
void |
setFetchSize(int rows)
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 x)
|
void |
setInt(int i,
int x)
|
void |
setLong(int i,
long x)
|
void |
setMaxFieldSize(int max)
|
void |
setMaxRows(int max)
|
void |
setNull(int i,
int sqlType)
|
void |
setNull(int i,
int sqlType,
java.lang.String typeName)
|
void |
setObject(int i,
java.lang.Object x)
|
void |
setObject(int i,
java.lang.Object x,
int sqlType)
|
void |
setObject(int i,
java.lang.Object x,
int sqlType,
int scale)
|
void |
setPassword(java.lang.String pword)
|
void |
setQueryTimeout(int seconds)
|
void |
setReadOnly(boolean value)
|
void |
setRef(int i,
java.sql.Ref x)
|
void |
setShort(int i,
short x)
|
void |
setString(int i,
java.lang.String x)
|
void |
setTime(int i,
java.sql.Time x)
|
void |
setTime(int i,
java.sql.Time x,
java.util.Calendar cal)
|
void |
setTimestamp(int i,
java.sql.Timestamp x)
|
void |
setTimestamp(int i,
java.sql.Timestamp x,
java.util.Calendar cal)
|
void |
setTransactionIsolation(int level)
|
void |
setType(int type)
|
void |
setTypeMap(java.util.Map map)
|
void |
setUnicodeStream(int i,
java.io.InputStream x,
int length)
|
void |
setUrl(java.lang.String url)
|
void |
setUsername(java.lang.String name)
|
void |
updateArray(int columnIndex,
java.sql.Array x)
|
void |
updateArray(java.lang.String columnName,
java.sql.Array x)
|
void |
updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length)
Updates the designated column with an ascii stream value. |
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length)
Updates the designated column with an ascii stream value. |
void |
updateBigDecimal(int columnIndex,
java.math.BigDecimal x)
Updates the designated column with a java.math.BigDecimal value. |
void |
updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
Updates the designated column with a java.sql.BigDecimal value. |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length)
Updates the designated column with a binary stream value. |
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length)
Updates the designated column with a binary stream value. |
void |
updateBlob(int columnIndex,
java.sql.Blob x)
|
void |
updateBlob(java.lang.String columnName,
java.sql.Blob x)
|
void |
updateBoolean(int columnIndex,
boolean x)
Updates the designated column with a boolean value. |
void |
updateBoolean(java.lang.String columnName,
boolean x)
Updates the designated column with a boolean value. |
void |
updateByte(int columnIndex,
byte x)
Updates the designated column with a byte value. |
void |
updateByte(java.lang.String columnName,
byte x)
Updates the designated column with a byte value. |
void |
updateBytes(int columnIndex,
byte[] x)
Updates the designated column with a byte array value. |
void |
updateBytes(java.lang.String columnName,
byte[] x)
Updates the designated column with a boolean value. |
void |
updateCharacterStream(int columnIndex,
java.io.Reader x,
int length)
Updates the designated column with a character stream value. |
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader x,
int length)
Updates the designated column with a character stream value. |
void |
updateClob(int columnIndex,
java.sql.Clob x)
|
void |
updateClob(java.lang.String columnName,
java.sql.Clob x)
|
void |
updateDate(int columnIndex,
java.sql.Date x)
|
void |
updateDate(java.lang.String columnName,
java.sql.Date x)
|
void |
updateDouble(int columnIndex,
double x)
|
void |
updateDouble(java.lang.String columnName,
double x)
|
void |
updateFloat(int columnIndex,
float x)
|
void |
updateFloat(java.lang.String columnName,
float x)
|
void |
updateInt(int columnIndex,
int x)
|
void |
updateInt(java.lang.String columnName,
int x)
|
void |
updateLong(int columnIndex,
long x)
|
void |
updateLong(java.lang.String columnName,
long x)
|
void |
updateNull(int columnIndex)
|
void |
updateNull(java.lang.String columnName)
|
void |
updateObject(int columnIndex,
java.lang.Object x)
|
void |
updateObject(int columnIndex,
java.lang.Object x,
int scale)
|
void |
updateObject(java.lang.String columnName,
java.lang.Object x)
|
void |
updateObject(java.lang.String columnName,
java.lang.Object x,
int scale)
|
void |
updateRef(int columnIndex,
java.sql.Ref x)
|
void |
updateRef(java.lang.String columnName,
java.sql.Ref x)
|
void |
updateRow()
|
void |
updateShort(int columnIndex,
short x)
|
void |
updateShort(java.lang.String columnName,
short x)
|
void |
updateString(int columnIndex,
java.lang.String x)
|
void |
updateString(java.lang.String columnName,
java.lang.String x)
|
void |
updateTime(int columnIndex,
java.sql.Time x)
|
void |
updateTime(java.lang.String columnName,
java.sql.Time x)
|
void |
updateTimestamp(int columnIndex,
java.sql.Timestamp x)
|
void |
updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x)
|
boolean |
wasNull()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sql.RowSet |
---|
setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNClob, setNClob, setNClob, setNString, setNString, setNull, setNull, setObject, setObject, setObject, setRowId, setRowId, setShort, setSQLXML, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setURL |
Methods inherited from interface java.sql.ResultSet |
---|
getHoldability, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getRowId, getRowId, getSQLXML, getSQLXML, isClosed, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateRowId, updateRowId, updateSQLXML, updateSQLXML |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Constructor Detail |
---|
public JDBCRowSet()
Method Detail |
---|
public boolean absolute(int row) throws java.sql.SQLException
absolute
in interface java.sql.ResultSet
java.sql.SQLException
- - if the row is 0public void afterLast() throws java.sql.SQLException
afterLast
in interface java.sql.ResultSet
java.sql.SQLException
- if (1) a database access error occurs, (2) the result set type is TYPE_FORWARD_ONLY, or (3) this rowset does not currently have a valid connection, prepared statement, and result setpublic void beforeFirst() throws java.sql.SQLException
beforeFirst
in interface java.sql.ResultSet
java.sql.SQLException
- if (1) a database access error occurs, (2) the result set type is TYPE_FORWARD_ONLY, or (3) this rowset does not currently have a valid connection, prepared statement, and result setpublic void cancelRowUpdates() throws java.sql.SQLException
cancelRowUpdates
in interface java.sql.ResultSet
java.sql.SQLException
- if (1) a database access error occurs, (2) this method is called when the cursor is on the insert row, or (3) this rowset does not currently have a valid connection, prepared statement, and result setpublic void clearWarnings() throws java.sql.SQLException
clearWarnings
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic void close() throws java.sql.SQLException
close
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurspublic void deleteRow() throws java.sql.SQLException
deleteRow
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or if this method is called when the cursor is on the insert row
java.sql.SQLException if (1) a database access error occurs, (2) this method is called when the cursor is before the first row, after the last row, or on the insert row, (3) the concurrency of this rowset's result set is ResultSet.CONCUR_READ_ONLY, or (4) this rowset does not currently have a valid connection, prepared statement, and result setpublic int findColumn(java.lang.String columnName) throws java.sql.SQLException
findColumn
in interface java.sql.ResultSet
columnName
- the name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic boolean first() throws java.sql.SQLException
first
in interface java.sql.ResultSet
java.sql.SQLException
- if (1) a database access error occurs, (2) the result set type is TYPE_FORWARD_ONLY, or (3) this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Array getArray(int i) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
i
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Array getArray(java.lang.String colName) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
colName
- the name of the column from which to retrieve the value
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.io.InputStream getAsciiStream(int columnIndex) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.io.InputStream getAsciiStream(java.lang.String columnName) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.math.BigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result sepublic java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
columnName
- the SQL name of the column
scale the number of digits to the right of the decimal point
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.math.BigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
columnName
- the column name
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
scale the number of digits to the right of the decimal point
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.io.InputStream getBinaryStream(java.lang.String columnName) throws java.sql.SQLException
getBinaryStream
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.io.InputStream getBinaryStream(int columnIndex) throws java.sql.SQLException
getBinaryStream
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.sql.Blob getBlob(java.lang.String columnName) throws java.sql.SQLException
getBlob
in interface java.sql.ResultSet
columnName
- the name of the column from which to retrieve the value
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Blob getBlob(int columnIndex) throws java.sql.SQLException
getBlob
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean getBoolean(int columnIndex) throws java.sql.SQLException
getBoolean
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic boolean getBoolean(java.lang.String columnName) throws java.sql.SQLException
getBoolean
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic byte getByte(int columnIndex) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic byte getByte(java.lang.String columnName) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic byte[] getBytes(java.lang.String columnName) throws java.sql.SQLException
getBytes
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic byte[] getBytes(int columnIndex) throws java.sql.SQLException
getBytes
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.io.Reader getCharacterStream(java.lang.String columnName) throws java.sql.SQLException
getCharacterStream
in interface java.sql.ResultSet
columnName
- the name of the column
java.sql.SQLException
public java.io.Reader getCharacterStream(int columnIndex) throws java.sql.SQLException
getCharacterStream
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
public java.sql.Clob getClob(java.lang.String columnName) throws java.sql.SQLException
getClob
in interface java.sql.ResultSet
columnName
- the name of the column from which to retrieve the value
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Clob getClob(int columnIndex) throws java.sql.SQLException
getClob
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic int getConcurrency() throws java.sql.SQLException
getConcurrency
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.lang.String getCursorName() throws java.sql.SQLException
getCursorName
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.sql.Date getDate(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
columnName
- the SQL name of the column from which to retrieve the value
cal the java.util.Calendar object to use in constructing the date
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Date getDate(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
cal the java.util.Calendar object to use in constructing the date
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Date getDate(java.lang.String columnName) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.sql.Date getDate(int columnIndex) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic double getDouble(int columnIndex) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic double getDouble(java.lang.String columnName) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic int getFetchDirection() throws java.sql.SQLException
getFetchDirection
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic int getFetchSize() throws java.sql.SQLException
getFetchSize
in interface java.sql.ResultSet
java.sql.SQLException
public float getFloat(java.lang.String columnName) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic float getFloat(int columnIndex) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic int getInt(int columnIndex) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic int getInt(java.lang.String columnName) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic long getLong(int columnIndex) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic long getLong(java.lang.String columnName) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
getMetaData
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.lang.Object getObject(java.lang.String columnName) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.lang.Object getObject(java.lang.String columnName, java.util.Map map) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
columnName
- the name of the column from which to retrieve the value
map a java.util.Map object that contains the mapping from SQL type names to classes in the Java programming language
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.lang.Object getObject(int columnIndex, java.util.Map map) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
map a java.util.Map object that contains the mapping from SQL type names to classes in the Java programming language
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.lang.Object getObject(int columnIndex) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Ref getRef(int columnIndex) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Ref getRef(java.lang.String columnName) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
columnName
- the column name
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic int getRow() throws java.sql.SQLException
getRow
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic short getShort(java.lang.String columnName) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic short getShort(int columnIndex) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.sql.Statement getStatement() throws java.sql.SQLException
getStatement
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurspublic java.lang.String getString(int columnIndex) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.lang.String getString(java.lang.String columnName) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.sql.Time getTime(java.lang.String columnName) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.sql.Time getTime(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
cal the java.util.Calendar object to use in constructing the time
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Time getTime(int columnIndex) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.sql.Time getTime(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
columnName
- the SQL name of the column
cal the java.util.Calendar object to use in constructing the time
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Timestamp getTimestamp(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
columnName
- the SQL name of the column
cal the java.util.Calendar object to use in constructing the timestamp
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
cal the java.util.Calendar object to use in constructing the timestamp
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.sql.Timestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.sql.Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic int getType() throws java.sql.SQLException
getType
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLException
getUnicodeStream
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.io.InputStream getUnicodeStream(java.lang.String columnName) throws java.sql.SQLException
getUnicodeStream
in interface java.sql.ResultSet
columnName
- the SQL name of the column
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic java.sql.SQLWarning getWarnings() throws java.sql.SQLException
getWarnings
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not have a currently valid connection, prepared statement, and result setpublic void insertRow() throws java.sql.SQLException
insertRow
in interface java.sql.ResultSet
java.sql.SQLException
- if (1) a database access error occurs, (2) this method is called when the cursor is not on the insert row, (3) not all non-nullable columns in the insert row have been given a value, or (4) this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean isAfterLast() throws java.sql.SQLException
isAfterLast
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean isBeforeFirst() throws java.sql.SQLException
isBeforeFirst
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean isFirst() throws java.sql.SQLException
isFirst
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean isLast() throws java.sql.SQLException
isLast
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean last() throws java.sql.SQLException
last
in interface java.sql.ResultSet
java.sql.SQLException
- if (1) a database access error occurs, (2) the result set type is TYPE_FORWARD_ONLY, or (3) this rowset does not currently have a valid connection, prepared statement, and result setpublic void moveToCurrentRow() throws java.sql.SQLException
moveToCurrentRow
in interface java.sql.ResultSet
java.sql.SQLException
- if (1) a database access error occurs, (2) this rowset's ResultSet object is not updatable, or (3) this rowset does not currently have a valid connection, prepared statement, and result setpublic void moveToInsertRow() throws java.sql.SQLException
moveToInsertRow
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or the result set is not updatable
java.sql.SQLException if (1) a database access error occurs, (2) this rowset's ResultSet object is not updatable, or (3) this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean next() throws java.sql.SQLException
next
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean previous() throws java.sql.SQLException
previous
in interface java.sql.ResultSet
java.sql.SQLException
- if (1) a database access error occurs, (2) the result set type is TYPE_FORWARD_ONLY, or (3) this rowset does not currently have a valid connection, prepared statement, and result setpublic void refreshRow() throws java.sql.SQLException
refreshRow
in interface java.sql.ResultSet
java.sql.SQLException
- if (1) a database access error occurs, (2) this method is called when the cursor is on the insert row, or (3) this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean relative(int rows) throws java.sql.SQLException
relative
in interface java.sql.ResultSet
java.sql.SQLException
- if (1) a database access error occurs, (2) there is no current row, (3) the result set type is TYPE_FORWARD_ONLY, or (4) this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean rowDeleted() throws java.sql.SQLException
rowDeleted
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean rowInserted() throws java.sql.SQLException
rowInserted
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic boolean rowUpdated() throws java.sql.SQLException
rowUpdated
in interface java.sql.ResultSet
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic void setFetchDirection(int direction) throws java.sql.SQLException
setFetchDirection
in interface java.sql.ResultSet
java.sql.SQLException
- if (1) a database access error occurs, (2) the result set type is TYPE_FORWARD_ONLY and the fetch direction is not FETCH_FORWARD, or (3) this rowset does not currently have a valid connection, prepared statement, and result setpublic void setFetchSize(int rows) throws java.sql.SQLException
setFetchSize
in interface java.sql.ResultSet
rows
- the number of rows to fetch
java.sql.SQLException
- if (1) a database access error occurs, (2) the condition 0 <= rows <= this.getMaxRows() is not satisfied, or (3) this rowset does not currently have a valid connection, prepared statement, and result setpublic void updateAsciiStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
x the new column value
length the length of the stream
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
columnName
- the name of the column
x the new column value
length the length of the stream
java.sql.SQLException
- if a database access error occurspublic void updateBigDecimal(int columnIndex, java.math.BigDecimal x) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
x the new column value
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
columnName
- the name of the column
x the new column value
java.sql.SQLException
- if a database access error occurspublic void updateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
columnName
- the name of the column
x the new column value
length the length of the stream
java.sql.SQLException
- if a database access error occurspublic void updateBinaryStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
x the new column value
length the length of the stream
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic void updateBoolean(int columnIndex, boolean x) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
x the new column value
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic void updateBoolean(java.lang.String columnName, boolean x) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
columnName
- the name of the column
x the new column value
java.sql.SQLException
- if a database access error occurspublic void updateByte(java.lang.String columnName, byte x) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
columnName
- the name of the column
x the new column value
java.sql.SQLException
- if a database access error occurspublic void updateByte(int columnIndex, byte x) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
x the new column value
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic void updateBytes(java.lang.String columnName, byte[] x) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
columnName
- the name of the column
x the new column value
java.sql.SQLException
- if a database access error occurspublic void updateBytes(int columnIndex, byte[] x) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
x the new column value
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic void updateCharacterStream(java.lang.String columnName, java.io.Reader x, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
columnName
- the name of the column
x the new column value
length the length of the stream
java.sql.SQLException
- if a database access error occurspublic void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
x the new column value
length the length of the stream
java.sql.SQLException
- if a database access error occurs or this rowset does not currently have a valid connection, prepared statement, and result setpublic void updateDate(java.lang.String columnName, java.sql.Date x) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
java.sql.SQLException
public void updateDate(int columnIndex, java.sql.Date x) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
java.sql.SQLException
public void updateDouble(int columnIndex, double x) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
java.sql.SQLException
public void updateDouble(java.lang.String columnName, double x) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
java.sql.SQLException
public void updateFloat(int columnIndex, float x) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
java.sql.SQLException
public void updateFloat(java.lang.String columnName, float x) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
java.sql.SQLException
public void updateInt(int columnIndex, int x) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
java.sql.SQLException
public void updateInt(java.lang.String columnName, int x) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
java.sql.SQLException
public void updateLong(int columnIndex, long x) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
java.sql.SQLException
public void updateLong(java.lang.String columnName, long x) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNull(java.lang.String columnName) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNull(int columnIndex) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x, int scale) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(java.lang.String columnName, java.lang.Object x) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(java.lang.String columnName, java.lang.Object x, int scale) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateRow() throws java.sql.SQLException
updateRow
in interface java.sql.ResultSet
java.sql.SQLException
public void updateShort(int columnIndex, short x) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
java.sql.SQLException
public void updateShort(java.lang.String columnName, short x) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
java.sql.SQLException
public void updateString(java.lang.String columnName, java.lang.String x) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
java.sql.SQLException
public void updateString(int columnIndex, java.lang.String x) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTime(int columnIndex, java.sql.Time x) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTime(java.lang.String columnName, java.sql.Time x) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
public boolean wasNull() throws java.sql.SQLException
wasNull
in interface java.sql.ResultSet
java.sql.SQLException
public void execute() throws java.sql.SQLException
execute
in interface javax.sql.RowSet
java.sql.SQLException
- if a database access error occurs or any required properties are not setpublic void execute(java.sql.Connection connection) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getCommand()
getCommand
in interface javax.sql.RowSet
public java.lang.String getDataSourceName()
getDataSourceName
in interface javax.sql.RowSet
public boolean getEscapeProcessing() throws java.sql.SQLException
getEscapeProcessing
in interface javax.sql.RowSet
java.sql.SQLException
public int getMaxFieldSize() throws java.sql.SQLException
getMaxFieldSize
in interface javax.sql.RowSet
java.sql.SQLException
public int getMaxRows() throws java.sql.SQLException
getMaxRows
in interface javax.sql.RowSet
java.sql.SQLException
public java.lang.String getPassword()
getPassword
in interface javax.sql.RowSet
public int getQueryTimeout() throws java.sql.SQLException
getQueryTimeout
in interface javax.sql.RowSet
java.sql.SQLException
public java.util.Map getTypeMap() throws java.sql.SQLException
getTypeMap
in interface javax.sql.RowSet
java.sql.SQLException
public boolean isReadOnly()
isReadOnly
in interface javax.sql.RowSet
public void addRowSetListener(javax.sql.RowSetListener listener)
addRowSetListener
in interface javax.sql.RowSet
public void removeRowSetListener(javax.sql.RowSetListener listener)
removeRowSetListener
in interface javax.sql.RowSet
public void clearParameters() throws java.sql.SQLException
clearParameters
in interface javax.sql.RowSet
java.sql.SQLException
public void setArray(int i, java.sql.Array x) throws java.sql.SQLException
setArray
in interface javax.sql.RowSet
java.sql.SQLException
public void setUnicodeStream(int i, java.io.InputStream x, int length) throws java.sql.SQLException
java.sql.SQLException
public void setBinaryStream(int i, java.io.InputStream x, int length) throws java.sql.SQLException
setBinaryStream
in interface javax.sql.RowSet
java.sql.SQLException
public void setAsciiStream(int i, java.io.InputStream x, int length) throws java.sql.SQLException
setAsciiStream
in interface javax.sql.RowSet
java.sql.SQLException
public void setBigDecimal(int i, java.math.BigDecimal x) throws java.sql.SQLException
setBigDecimal
in interface javax.sql.RowSet
java.sql.SQLException
public void setBlob(int i, java.sql.Blob x) throws java.sql.SQLException
setBlob
in interface javax.sql.RowSet
java.sql.SQLException
public void setBoolean(int i, boolean x) throws java.sql.SQLException
setBoolean
in interface javax.sql.RowSet
java.sql.SQLException
public void setByte(int i, byte x) throws java.sql.SQLException
setByte
in interface javax.sql.RowSet
java.sql.SQLException
public void setBytes(int i, byte[] x) throws java.sql.SQLException
setBytes
in interface javax.sql.RowSet
java.sql.SQLException
public void setCharacterStream(int i, java.io.Reader x, int length) throws java.sql.SQLException
setCharacterStream
in interface javax.sql.RowSet
java.sql.SQLException
public void setClob(int i, java.sql.Clob x) throws java.sql.SQLException
setClob
in interface javax.sql.RowSet
java.sql.SQLException
public void setCommand(java.lang.String cmd) throws java.sql.SQLException
setCommand
in interface javax.sql.RowSet
java.sql.SQLException
public void setConcurrency(int concurrency) throws java.sql.SQLException
setConcurrency
in interface javax.sql.RowSet
java.sql.SQLException
public void setDataSourceName(java.lang.String name) throws java.sql.SQLException
setDataSourceName
in interface javax.sql.RowSet
java.sql.SQLException
public void setDate(int i, java.sql.Date x) throws java.sql.SQLException
setDate
in interface javax.sql.RowSet
java.sql.SQLException
public void setDate(int i, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLException
setDate
in interface javax.sql.RowSet
java.sql.SQLException
public void setDouble(int i, double x) throws java.sql.SQLException
setDouble
in interface javax.sql.RowSet
java.sql.SQLException
public void setEscapeProcessing(boolean enable) throws java.sql.SQLException
setEscapeProcessing
in interface javax.sql.RowSet
java.sql.SQLException
public void setFloat(int i, float x) throws java.sql.SQLException
setFloat
in interface javax.sql.RowSet
java.sql.SQLException
public void setInt(int i, int x) throws java.sql.SQLException
setInt
in interface javax.sql.RowSet
java.sql.SQLException
public void setLong(int i, long x) throws java.sql.SQLException
setLong
in interface javax.sql.RowSet
java.sql.SQLException
public void setMaxFieldSize(int max) throws java.sql.SQLException
setMaxFieldSize
in interface javax.sql.RowSet
java.sql.SQLException
public void setMaxRows(int max) throws java.sql.SQLException
setMaxRows
in interface javax.sql.RowSet
java.sql.SQLException
public void setNull(int i, int sqlType, java.lang.String typeName) throws java.sql.SQLException
setNull
in interface javax.sql.RowSet
java.sql.SQLException
public void setNull(int i, int sqlType) throws java.sql.SQLException
setNull
in interface javax.sql.RowSet
java.sql.SQLException
public void setObject(int i, java.lang.Object x, int sqlType) throws java.sql.SQLException
setObject
in interface javax.sql.RowSet
java.sql.SQLException
public void setObject(int i, java.lang.Object x, int sqlType, int scale) throws java.sql.SQLException
setObject
in interface javax.sql.RowSet
java.sql.SQLException
public void setObject(int i, java.lang.Object x) throws java.sql.SQLException
setObject
in interface javax.sql.RowSet
java.sql.SQLException
public void setPassword(java.lang.String pword) throws java.sql.SQLException
setPassword
in interface javax.sql.RowSet
java.sql.SQLException
public void setQueryTimeout(int seconds) throws java.sql.SQLException
setQueryTimeout
in interface javax.sql.RowSet
java.sql.SQLException
public void setReadOnly(boolean value) throws java.sql.SQLException
setReadOnly
in interface javax.sql.RowSet
java.sql.SQLException
public void setRef(int i, java.sql.Ref x) throws java.sql.SQLException
setRef
in interface javax.sql.RowSet
java.sql.SQLException
public void setShort(int i, short x) throws java.sql.SQLException
setShort
in interface javax.sql.RowSet
java.sql.SQLException
public void setString(int i, java.lang.String x) throws java.sql.SQLException
setString
in interface javax.sql.RowSet
java.sql.SQLException
public void setTime(int i, java.sql.Time x) throws java.sql.SQLException
setTime
in interface javax.sql.RowSet
java.sql.SQLException
public void setTime(int i, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLException
setTime
in interface javax.sql.RowSet
java.sql.SQLException
public void setTimestamp(int i, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException
setTimestamp
in interface javax.sql.RowSet
java.sql.SQLException
public void setTimestamp(int i, java.sql.Timestamp x) throws java.sql.SQLException
setTimestamp
in interface javax.sql.RowSet
java.sql.SQLException
public int getTransactionIsolation()
getTransactionIsolation
in interface javax.sql.RowSet
public void setTransactionIsolation(int level) throws java.sql.SQLException
setTransactionIsolation
in interface javax.sql.RowSet
java.sql.SQLException
public void setType(int type) throws java.sql.SQLException
setType
in interface javax.sql.RowSet
java.sql.SQLException
public void setTypeMap(java.util.Map map) throws java.sql.SQLException
setTypeMap
in interface javax.sql.RowSet
java.sql.SQLException
public java.lang.String getUrl() throws java.sql.SQLException
getUrl
in interface javax.sql.RowSet
java.sql.SQLException
public void setUrl(java.lang.String url) throws java.sql.SQLException
setUrl
in interface javax.sql.RowSet
java.sql.SQLException
public java.lang.String getUsername()
getUsername
in interface javax.sql.RowSet
public void setUsername(java.lang.String name) throws java.sql.SQLException
setUsername
in interface javax.sql.RowSet
java.sql.SQLException
public java.lang.Object[] getParams() throws java.sql.SQLException
java.sql.SQLException
public java.sql.Connection getConnection() throws java.sql.SQLException
java.sql.SQLException
public java.net.URL getURL(int columnIndex) throws java.sql.SQLException
getURL
in interface java.sql.ResultSet
java.sql.SQLException
public java.net.URL getURL(java.lang.String columnName) throws java.sql.SQLException
getURL
in interface java.sql.ResultSet
java.sql.SQLException
public void updateArray(int columnIndex, java.sql.Array x) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
java.sql.SQLException
public void updateArray(java.lang.String columnName, java.sql.Array x) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBlob(int columnIndex, java.sql.Blob x) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBlob(java.lang.String columnName, java.sql.Blob x) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateClob(int columnIndex, java.sql.Clob x) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateClob(java.lang.String columnName, java.sql.Clob x) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.sql.SQLException
public void updateRef(int columnIndex, java.sql.Ref x) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
java.sql.SQLException
public void updateRef(java.lang.String columnName, java.sql.Ref x) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
java.sql.SQLException
|
i-net JDBC drivers for MS SQL Server | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |