|
|||||||||
| Home >> All >> java >> [ sql overview ] | PREV NEXT | ||||||||
Uses of Class
java.sql.SQLException
| Uses of SQLException in java.sql |
| Subclasses of SQLException in java.sql | |
class |
BatchUpdateException
This class extends SQLException to count the successful
updates in each statement in a batch that was successfully updated prior
to the error. |
class |
DataTruncation
This exception is thrown when a piece of data is unexpectedly truncated in JDBC. |
class |
SQLWarning
This exception is thrown when a database warning occurs. |
| Fields in java.sql declared as SQLException | |
private SQLException |
SQLException.next
This is the next exception in the chain |
| Methods in java.sql that return SQLException | |
SQLException |
SQLException.getNextException()
This method returns the exception that is chained to this object. |
| Methods in java.sql with parameters of type SQLException | |
void |
SQLException.setNextException(SQLException e)
This method adds a new exception to the end of the chain of exceptions that are chained to this object. |
| Methods in java.sql that throw SQLException | |
java.lang.String |
Struct.getSQLTypeName()
This method returns the name of the SQL structured type for this object. |
java.lang.Object[] |
Struct.getAttributes()
This method returns the attributes of this SQL structured type. |
java.lang.Object[] |
Struct.getAttributes(java.util.Map map)
This method returns the attributes of this SQL structured type. |
ResultSet |
Statement.executeQuery(java.lang.String sql)
This method executes the specified SQL SELECT statement and returns a (possibly empty) ResultSet with the results of the query. |
int |
Statement.executeUpdate(java.lang.String sql)
This method executes the specified SQL INSERT, UPDATE, or DELETE statement and returns the number of rows affected, which may be 0. |
void |
Statement.close()
This method closes the statement and frees any associated resources. |
int |
Statement.getMaxFieldSize()
This method returns the maximum length of any column value in bytes. |
void |
Statement.setMaxFieldSize(int maxSize)
This method sets the limit for the maximum length of any column in bytes. |
int |
Statement.getMaxRows()
This method returns the maximum possible number of rows in a result set. |
void |
Statement.setMaxRows(int maxRows)
This method sets the maximum number of rows that can be present in a result set. |
void |
Statement.setEscapeProcessing(boolean escape)
This method sets the local escape processing mode on or off. |
int |
Statement.getQueryTimeout()
The method returns the number of seconds a statement may be in process before timing out. |
void |
Statement.setQueryTimeout(int seconds)
This method sets the number of seconds a statement may be in process before timing out. |
void |
Statement.cancel()
This method cancels an outstanding statement, if the database supports that operation. |
SQLWarning |
Statement.getWarnings()
This method returns the first SQL warning attached to this statement. |
void |
Statement.clearWarnings()
This method clears any SQL warnings that have been attached to this statement. |
void |
Statement.setCursorName(java.lang.String name)
This method sets the cursor name that will be used by the result set. |
boolean |
Statement.execute(java.lang.String sql)
This method executes an arbitrary SQL statement of any time. |
ResultSet |
Statement.getResultSet()
This method returns the result set of the SQL statement that was executed. |
int |
Statement.getUpdateCount()
This method returns the update count of the SQL statement that was executed. |
boolean |
Statement.getMoreResults()
This method advances the result set pointer to the next result set, which can then be retrieved using getResultSet |
void |
Statement.setFetchDirection(int direction)
This method informs the driver which direction the result set will be accessed in. |
int |
Statement.getFetchDirection()
This method returns the current direction that the driver thinks the result set will be accessed int. |
void |
Statement.setFetchSize(int numRows)
This method informs the driver how many rows it should fetch from the database at a time. |
int |
Statement.getFetchSize()
This method returns the number of rows the driver believes should be fetched from the database at a time. |
int |
Statement.getResultSetConcurrency()
This method returns the concurrency type of the result set for this statement. |
int |
Statement.getResultSetType()
This method returns the result set type for this statement. |
void |
Statement.addBatch(java.lang.String sql)
This method adds a SQL statement to a SQL batch. |
void |
Statement.clearBatch()
This method clears out any SQL statements that have been populated in the current batch. |
int[] |
Statement.executeBatch()
This method executes the SQL batch and returns an array of update counts - one for each SQL statement in the batch - ordered in the same order the statements were added to the batch. |
Connection |
Statement.getConnection()
This method returns the Connection instance that was
used to create this object. |
boolean |
Statement.getMoreResults(int current)
|
ResultSet |
Statement.getGeneratedKeys()
|
int |
Statement.executeUpdate(java.lang.String sql,
int autoGeneratedKeys)
|
int |
Statement.executeUpdate(java.lang.String sql,
int[] columnIndexes)
|
int |
Statement.executeUpdate(java.lang.String sql,
java.lang.String[] columnNames)
|
boolean |
Statement.execute(java.lang.String sql,
int autoGeneratedKeys)
|
boolean |
Statement.execute(java.lang.String sql,
int[] columnIndexes)
|
boolean |
Statement.execute(java.lang.String sql,
java.lang.String[] columnNames)
|
int |
Statement.getResultSetHoldability()
|
int |
Savepoint.getSavepointId()
|
java.lang.String |
Savepoint.getSavepointName()
|
void |
SQLOutput.writeString(java.lang.String value)
This method writes the specified Java String
to the SQL stream. |
void |
SQLOutput.writeBoolean(boolean value)
This method writes the specified Java boolean
to the SQL stream. |
void |
SQLOutput.writeByte(byte value)
This method writes the specified Java byte
to the SQL stream. |
void |
SQLOutput.writeShort(short value)
This method writes the specified Java short
to the SQL stream. |
void |
SQLOutput.writeInt(int value)
This method writes the specified Java int
to the SQL stream. |
void |
SQLOutput.writeLong(long value)
This method writes the specified Java long
to the SQL stream. |
void |
SQLOutput.writeFloat(float value)
This method writes the specified Java float
to the SQL stream. |
void |
SQLOutput.writeDouble(double value)
This method writes the specified Java double
to the SQL stream. |
void |
SQLOutput.writeBigDecimal(java.math.BigDecimal value)
This method writes the specified Java BigDecimal
to the SQL stream. |
void |
SQLOutput.writeBytes(byte[] value)
This method writes the specified Java byte array
to the SQL stream. |
void |
SQLOutput.writeDate(Date value)
This method writes the specified Java java.sql.Date
to the SQL stream. |
void |
SQLOutput.writeTime(Time value)
This method writes the specified Java java.sql.Time
to the SQL stream. |
void |
SQLOutput.writeTimestamp(Timestamp value)
This method writes the specified Java java.sql.Timestamp
to the SQL stream. |
void |
SQLOutput.writeCharacterStream(java.io.Reader stream)
This method writes the specified Java character stream to the SQL stream. |
void |
SQLOutput.writeAsciiStream(java.io.InputStream stream)
This method writes the specified ASCII text stream to the SQL stream. |
void |
SQLOutput.writeBinaryStream(java.io.InputStream stream)
This method writes the specified uninterpreted binary byte stream to the SQL stream. |
void |
SQLOutput.writeObject(SQLData value)
This method writes the specified Java SQLData object
to the SQL stream. |
void |
SQLOutput.writeRef(Ref value)
This method writes the specified Java SQL Ref object
to the SQL stream. |
void |
SQLOutput.writeBlob(Blob value)
This method writes the specified Java SQL Blob object
to the SQL stream. |
void |
SQLOutput.writeClob(Clob value)
This method writes the specified Java SQL Clob object
to the SQL stream. |
void |
SQLOutput.writeStruct(Struct value)
This method writes the specified Java SQL Struct object
to the SQL stream. |
void |
SQLOutput.writeArray(Array value)
This method writes the specified Java SQL Array object
to the SQL stream. |
void |
SQLOutput.writeURL(java.net.URL value)
This method writes the specified java.net.URL object to the
SQL stream. |
java.lang.String |
SQLInput.readString()
This method reads the next item from the stream a Java String. |
boolean |
SQLInput.readBoolean()
This method reads the next item from the stream a Java boolean. |
byte |
SQLInput.readByte()
This method reads the next item from the stream a Java byte. |
short |
SQLInput.readShort()
This method reads the next item from the stream a Java short. |
int |
SQLInput.readInt()
This method reads the next item from the stream a Java int. |
long |
SQLInput.readLong()
This method reads the next item from the stream a Java long. |
float |
SQLInput.readFloat()
This method reads the next item from the stream a Java float. |
double |
SQLInput.readDouble()
This method reads the next item from the stream a Java double. |
java.math.BigDecimal |
SQLInput.readBigDecimal()
This method reads the next item from the stream a Java BigDecimal. |
byte[] |
SQLInput.readBytes()
This method reads the next item from the stream a Java byte array |
Date |
SQLInput.readDate()
This method reads the next item from the stream a Java java.sql.Date. |
Time |
SQLInput.readTime()
This method reads the next item from the stream a Java java.sql.Time. |
Timestamp |
SQLInput.readTimestamp()
This method reads the next item from the stream a Java java.sql.Timestamp. |
java.io.Reader |
SQLInput.readCharacterStream()
This method reads the next item from the stream a character Reader. |
java.io.InputStream |
SQLInput.readAsciiStream()
This method reads the next item from the stream a ASCII text InputStream. |
java.io.InputStream |
SQLInput.readBinaryStream()
This method reads the next item from the stream a binary InputStream. |
java.lang.Object |
SQLInput.readObject()
This method reads the next item from the stream a Java Object. |
Ref |
SQLInput.readRef()
This method reads the next item from the stream a Java SQL Ref. |
Blob |
SQLInput.readBlob()
This method reads the next item from the stream a Java SQL Blob. |
Clob |
SQLInput.readClob()
This method reads the next item from the stream a Java SQL Clob. |
Array |
SQLInput.readArray()
This method reads the next item from the stream a Java SQL Array. |
boolean |
SQLInput.wasNull()
This method tests whether or not the last value read was a SQL NULL value. |
java.net.URL |
SQLInput.readURL()
|
java.lang.String |
SQLData.getSQLTypeName()
This method returns the user defined datatype name for this object. |
void |
SQLData.readSQL(SQLInput stream,
java.lang.String typeName)
This method populates the data in the object from the specified stream. |
void |
SQLData.writeSQL(SQLOutput stream)
This method writes the data in this object to the specified stream. |
int |
ResultSetMetaData.getColumnCount()
This method returns the number of columns in the result set. |
boolean |
ResultSetMetaData.isAutoIncrement(int columnIndex)
This method test whether or not the column is an auto-increment column. |
boolean |
ResultSetMetaData.isCaseSensitive(int columnIndex)
This method tests whether or not a column is case sensitive in its values. |
boolean |
ResultSetMetaData.isSearchable(int columnIndex)
This method tests whether not the specified column can be used in a WHERE clause. |
boolean |
ResultSetMetaData.isCurrency(int columnIndex)
This method tests whether or not the column stores a monetary value. |
int |
ResultSetMetaData.isNullable(int columnIndex)
This method returns a value indicating whether or not the specified column may contain a NULL value. |
boolean |
ResultSetMetaData.isSigned(int columnIndex)
This method tests whether or not the value of the specified column is signed or unsigned. |
int |
ResultSetMetaData.getColumnDisplaySize(int columnIndex)
This method returns the maximum number of characters that can be used to display a value in this column. |
java.lang.String |
ResultSetMetaData.getColumnLabel(int columnIndex)
This method returns a string that should be used as a caption for this column for user display purposes. |
java.lang.String |
ResultSetMetaData.getColumnName(int columnIndex)
This method returns the name of the specified column. |
java.lang.String |
ResultSetMetaData.getSchemaName(int columnIndex)
This method returns the name of the schema that contains the specified column. |
int |
ResultSetMetaData.getPrecision(int columnIndex)
This method returns the precision of the specified column, which is the number of decimal digits it contains. |
int |
ResultSetMetaData.getScale(int columnIndex)
This method returns the scale of the specified column, which is the number of digits to the right of the decimal point. |
java.lang.String |
ResultSetMetaData.getTableName(int columnIndex)
This method returns the name of the table containing the specified column. |
java.lang.String |
ResultSetMetaData.getCatalogName(int columnIndex)
This method returns the name of the catalog containing the specified column. |
int |
ResultSetMetaData.getColumnType(int columnIndex)
This method returns the SQL type of the specified column. |
java.lang.String |
ResultSetMetaData.getColumnTypeName(int columnIndex)
This method returns the name of the SQL type for this column. |
boolean |
ResultSetMetaData.isReadOnly(int columnIndex)
This method tests whether or not the specified column is read only. |
boolean |
ResultSetMetaData.isWritable(int columnIndex)
This method tests whether or not the column may be writable. |
boolean |
ResultSetMetaData.isDefinitelyWritable(int columnIndex)
This method tests whether or not the column is writable. |
java.lang.String |
ResultSetMetaData.getColumnClassName(int columnIndex)
This method returns the name of the Java class which will be used to create objects representing the data in this column. |
boolean |
ResultSet.next()
This method advances to the next row in the result set. |
void |
ResultSet.close()
This method closes the result set and frees any associated resources. |
boolean |
ResultSet.wasNull()
This method tests whether the value of the last column that was fetched was actually a SQL NULL value. |
java.lang.String |
ResultSet.getString(int columnIndex)
This method returns the value of the specified column as a Java String. |
boolean |
ResultSet.getBoolean(int columnIndex)
This method returns the value of the specified column as a Java boolean. |
byte |
ResultSet.getByte(int columnIndex)
This method returns the value of the specified column as a Java byte. |
short |
ResultSet.getShort(int columnIndex)
This method returns the value of the specified column as a Java short. |
int |
ResultSet.getInt(int columnIndex)
This method returns the value of the specified column as a Java int. |
long |
ResultSet.getLong(int columnIndex)
This method returns the value of the specified column as a Java long. |
float |
ResultSet.getFloat(int columnIndex)
This method returns the value of the specified column as a Java float. |
double |
ResultSet.getDouble(int columnIndex)
This method returns the value of the specified column as a Java double. |
java.math.BigDecimal |
ResultSet.getBigDecimal(int columnIndex,
int scale)
Deprecated. |
byte[] |
ResultSet.getBytes(int columnIndex)
This method returns the value of the specified column as a Java byte array. |
Date |
ResultSet.getDate(int columnIndex)
This method returns the value of the specified column as a Java java.sql.Date. |
Time |
ResultSet.getTime(int columnIndex)
This method returns the value of the specified column as a Java java.sql.Time. |
Timestamp |
ResultSet.getTimestamp(int columnIndex)
This method returns the value of the specified column as a Java java.sql.Timestamp. |
java.io.InputStream |
ResultSet.getAsciiStream(int columnIndex)
This method returns the value of the specified column as an ASCII stream. |
java.io.InputStream |
ResultSet.getUnicodeStream(int columnIndex)
Deprecated. Use getCharacterStream instead. |
java.io.InputStream |
ResultSet.getBinaryStream(int columnIndex)
This method returns the value of the specified column as a raw byte stream. |
java.lang.String |
ResultSet.getString(java.lang.String columnName)
This method returns the value of the specified column as a Java String. |
boolean |
ResultSet.getBoolean(java.lang.String columnName)
This method returns the value of the specified column as a Java boolean. |
byte |
ResultSet.getByte(java.lang.String columnName)
This method returns the value of the specified column as a Java byte. |
short |
ResultSet.getShort(java.lang.String columnName)
This method returns the value of the specified column as a Java short. |
int |
ResultSet.getInt(java.lang.String columnName)
This method returns the value of the specified column as a Java int. |
long |
ResultSet.getLong(java.lang.String columnName)
This method returns the value of the specified column as a Java long. |
float |
ResultSet.getFloat(java.lang.String columnName)
This method returns the value of the specified column as a Java float. |
double |
ResultSet.getDouble(java.lang.String columnName)
This method returns the value of the specified column as a Java double. |
java.math.BigDecimal |
ResultSet.getBigDecimal(java.lang.String columnName,
int scale)
Deprecated. |
byte[] |
ResultSet.getBytes(java.lang.String columnName)
This method returns the value of the specified column as a Java byte array. |
Date |
ResultSet.getDate(java.lang.String columnName)
This method returns the value of the specified column as a Java java.sql.Date. |
Time |
ResultSet.getTime(java.lang.String columnName)
This method returns the value of the specified column as a Java java.sql.Time. |
Timestamp |
ResultSet.getTimestamp(java.lang.String columnName)
This method returns the value of the specified column as a Java java.sql.Timestamp. |
java.io.InputStream |
ResultSet.getAsciiStream(java.lang.String columnName)
This method returns the value of the specified column as an ASCII stream. |
java.io.InputStream |
ResultSet.getUnicodeStream(java.lang.String columnName)
Deprecated. Use getCharacterStream instead. |
java.io.InputStream |
ResultSet.getBinaryStream(java.lang.String columnName)
This method returns the value of the specified column as a raw byte stream. |
SQLWarning |
ResultSet.getWarnings()
This method returns the first SQL warning associated with this result set. |
void |
ResultSet.clearWarnings()
This method clears all warnings associated with this result set. |
java.lang.String |
ResultSet.getCursorName()
This method returns the name of the database cursor used by this result set. |
ResultSetMetaData |
ResultSet.getMetaData()
This method returns data about the columns returned as part of the result set as a ResultSetMetaData instance. |
java.lang.Object |
ResultSet.getObject(int columnIndex)
This method returns the value of the specified column as a Java Object. |
java.lang.Object |
ResultSet.getObject(java.lang.String columnName)
This method returns the value of the specified column as a Java Object. |
int |
ResultSet.findColumn(java.lang.String columnName)
This method returns the column index of the specified named column. |
java.io.Reader |
ResultSet.getCharacterStream(int columnIndex)
This method returns the value of the specified column as a character stream. |
java.io.Reader |
ResultSet.getCharacterStream(java.lang.String columnName)
This method returns the value of the specified column as a character stream. |
java.math.BigDecimal |
ResultSet.getBigDecimal(int columnIndex)
This method returns the value of the specified column as a Java BigDecimal. |
java.math.BigDecimal |
ResultSet.getBigDecimal(java.lang.String columnName)
This method returns the value of the specified column as a Java BigDecimal. |
boolean |
ResultSet.isBeforeFirst()
This method tests whether or not the cursor is before the first row in the result set. |
boolean |
ResultSet.isAfterLast()
This method tests whether or not the cursor is after the last row in the result set. |
boolean |
ResultSet.isFirst()
This method tests whether or not the cursor is positioned on the first row in the result set. |
boolean |
ResultSet.isLast()
This method tests whether or not the cursor is on the last row in the result set. |
void |
ResultSet.beforeFirst()
This method repositions the cursor to before the first row in the result set. |
void |
ResultSet.afterLast()
This method repositions the cursor to after the last row in the result set. |
boolean |
ResultSet.first()
This method repositions the cursor on the first row in the result set. |
boolean |
ResultSet.last()
This method repositions the cursor on the last row in the result set. |
int |
ResultSet.getRow()
This method returns the current row number in the cursor. |
boolean |
ResultSet.absolute(int row)
This method positions the result set to the specified absolute row. |
boolean |
ResultSet.relative(int rows)
This method moves the result set position relative to the current row. |
boolean |
ResultSet.previous()
This method moves the current position to the previous row in the result set. |
void |
ResultSet.setFetchDirection(int direction)
This method provides a hint to the driver about which direction the result set will be processed in. |
int |
ResultSet.getFetchDirection()
This method returns the current fetch direction for this result set. |
void |
ResultSet.setFetchSize(int rows)
This method provides a hint to the driver about how many rows at a time it should fetch from the database. |
int |
ResultSet.getFetchSize()
This method returns the current number of rows that will be fetched from the database at a time. |
int |
ResultSet.getType()
This method returns the result set type of this result set. |
int |
ResultSet.getConcurrency()
This method returns the concurrency type of this result set. |
boolean |
ResultSet.rowUpdated()
This method tests whether or not the current row in the result set has been updated. |
boolean |
ResultSet.rowInserted()
This method tests whether or not the current row in the result set has been inserted. |
boolean |
ResultSet.rowDeleted()
This method tests whether or not the current row in the result set has been deleted. |
void |
ResultSet.updateNull(int columnIndex)
This method updates the specified column to have a NULL value. |
void |
ResultSet.updateBoolean(int columnIndex,
boolean value)
This method updates the specified column to have a boolean value. |
void |
ResultSet.updateByte(int columnIndex,
byte value)
This method updates the specified column to have a byte value. |
void |
ResultSet.updateShort(int columnIndex,
short value)
This method updates the specified column to have a short value. |
void |
ResultSet.updateInt(int columnIndex,
int value)
This method updates the specified column to have an int value. |
void |
ResultSet.updateLong(int columnIndex,
long value)
This method updates the specified column to have a long value. |
void |
ResultSet.updateFloat(int columnIndex,
float value)
This method updates the specified column to have a float value. |
void |
ResultSet.updateDouble(int columnIndex,
double value)
This method updates the specified column to have a double value. |
void |
ResultSet.updateBigDecimal(int columnIndex,
java.math.BigDecimal value)
This method updates the specified column to have a BigDecimal value. |
void |
ResultSet.updateString(int columnIndex,
java.lang.String value)
This method updates the specified column to have a String value. |
void |
ResultSet.updateBytes(int columnIndex,
byte[] value)
This method updates the specified column to have a byte array value. |
void |
ResultSet.updateDate(int columnIndex,
Date value)
This method updates the specified column to have a java.sql.Date value. |
void |
ResultSet.updateTime(int columnIndex,
Time value)
This method updates the specified column to have a java.sql.Time value. |
void |
ResultSet.updateTimestamp(int columnIndex,
Timestamp value)
This method updates the specified column to have a java.sql.Timestamp value. |
void |
ResultSet.updateAsciiStream(int columnIndex,
java.io.InputStream stream,
int count)
This method updates the specified column from an ASCII text stream. |
void |
ResultSet.updateBinaryStream(int columnIndex,
java.io.InputStream stream,
int count)
This method updates the specified column from a binary stream. |
void |
ResultSet.updateCharacterStream(int columnIndex,
java.io.Reader reader,
int count)
This method updates the specified column from a character stream. |
void |
ResultSet.updateObject(int columnIndex,
java.lang.Object value,
int scale)
This method updates the specified column to have an Object value. |
void |
ResultSet.updateObject(int columnIndex,
java.lang.Object value)
This method updates the specified column to have an Object value. |
void |
ResultSet.updateNull(java.lang.String columnName)
This method updates the specified column to have a NULL value. |
void |
ResultSet.updateBoolean(java.lang.String columnName,
boolean value)
This method updates the specified column to have a boolean value. |
void |
ResultSet.updateByte(java.lang.String columnName,
byte value)
This method updates the specified column to have a byte value. |
void |
ResultSet.updateShort(java.lang.String columnName,
short value)
This method updates the specified column to have a short value. |
void |
ResultSet.updateInt(java.lang.String columnName,
int value)
This method updates the specified column to have an int value. |
void |
ResultSet.updateLong(java.lang.String columnName,
long value)
This method updates the specified column to have a long value. |
void |
ResultSet.updateFloat(java.lang.String columnName,
float value)
This method updates the specified column to have a float value. |
void |
ResultSet.updateDouble(java.lang.String columnName,
double value)
This method updates the specified column to have a double value. |
void |
ResultSet.updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal value)
This method updates the specified column to have a BigDecimal value. |
void |
ResultSet.updateString(java.lang.String columnName,
java.lang.String value)
This method updates the specified column to have a String value. |
void |
ResultSet.updateBytes(java.lang.String columnName,
byte[] value)
This method updates the specified column to have a byte array value. |
void |
ResultSet.updateDate(java.lang.String columnName,
Date value)
This method updates the specified column to have a java.sql.Date value. |
void |
ResultSet.updateTime(java.lang.String columnName,
Time value)
This method updates the specified column to have a java.sql.Time value. |
void |
ResultSet.updateTimestamp(java.lang.String columnName,
Timestamp value)
This method updates the specified column to have a java.sql.Timestamp value. |
void |
ResultSet.updateAsciiStream(java.lang.String columnName,
java.io.InputStream stream,
int count)
This method updates the specified column from an ASCII text stream. |
void |
ResultSet.updateBinaryStream(java.lang.String columnName,
java.io.InputStream stream,
int count)
This method updates the specified column from a binary stream. |
void |
ResultSet.updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int count)
This method updates the specified column from a character stream. |
void |
ResultSet.updateObject(java.lang.String columnName,
java.lang.Object value,
int scale)
This method updates the specified column to have an Object value. |
void |
ResultSet.updateObject(java.lang.String columnName,
java.lang.Object value)
This method updates the specified column to have an Object value. |
void |
ResultSet.insertRow()
This method inserts the current row into the database. |
void |
ResultSet.updateRow()
This method updates the current row in the database. |
void |
ResultSet.deleteRow()
This method deletes the current row in the database. |
void |
ResultSet.refreshRow()
This method refreshes the contents of the current row from the database. |
void |
ResultSet.cancelRowUpdates()
This method cancels any changes that have been made to a row. |
void |
ResultSet.moveToInsertRow()
This method positions the result set to the "insert row", which allows a new row to be inserted into the database from the result set. |
void |
ResultSet.moveToCurrentRow()
This method moves the result set position from the insert row back to the current row that was selected prior to moving to the insert row. |
Statement |
ResultSet.getStatement()
This method returns a the Statement that was used to
produce this result set. |
java.lang.Object |
ResultSet.getObject(int columnIndex,
java.util.Map map)
This method returns the value of the specified column as a Java Object using the specified SQL type to Java type map. |
Ref |
ResultSet.getRef(int columnIndex)
This method returns a Ref for the specified column which
represents the structured type for the column. |
Blob |
ResultSet.getBlob(int columnIndex)
This method returns the specified column value as a BLOB. |
Clob |
ResultSet.getClob(int columnIndex)
This method returns the specified column value as a CLOB. |
Array |
ResultSet.getArray(int columnIndex)
This method returns the specified column value as an Array. |
java.lang.Object |
ResultSet.getObject(java.lang.String columnName,
java.util.Map map)
This method returns the value of the specified column as a Java Object using the specified SQL type to Java type map. |
Ref |
ResultSet.getRef(java.lang.String columnName)
This method returns a Ref for the specified column which
represents the structured type for the column. |
Blob |
ResultSet.getBlob(java.lang.String columnName)
This method returns the specified column value as a BLOB. |
Clob |
ResultSet.getClob(java.lang.String columnName)
This method returns the specified column value as a CLOB. |
Array |
ResultSet.getArray(java.lang.String columnName)
This method returns the specified column value as an Array. |
Date |
ResultSet.getDate(int columnIndex,
java.util.Calendar cal)
This method returns the specified column value as a java.sql.Date. |
Date |
ResultSet.getDate(java.lang.String columnName,
java.util.Calendar cal)
This method returns the specified column value as a java.sql.Date. |
Time |
ResultSet.getTime(int columnIndex,
java.util.Calendar cal)
This method returns the specified column value as a java.sql.Time. |
Time |
ResultSet.getTime(java.lang.String columnName,
java.util.Calendar cal)
This method returns the specified column value as a java.sql.Time. |
Timestamp |
ResultSet.getTimestamp(int columnIndex,
java.util.Calendar cal)
This method returns the specified column value as a java.sql.Timestamp. |
Timestamp |
ResultSet.getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
This method returns the specified column value as a java.sql.Timestamp. |
java.net.URL |
ResultSet.getURL(int columnIndex)
This method returns the specified column value as a java.net.URL. |
java.net.URL |
ResultSet.getURL(java.lang.String columnName)
This method returns the specified column value as a java.net.URL. |
void |
ResultSet.updateRef(int columnIndex,
Ref value)
This method updates the specified column to have a java.sql.Ref value. |
void |
ResultSet.updateRef(java.lang.String columnName,
Ref value)
This method updates the specified column to have a java.sql.Ref value. |
void |
ResultSet.updateBlob(int columnIndex,
Blob value)
This method updates the specified column to have a java.sql.Blob value. |
void |
ResultSet.updateBlob(java.lang.String columnName,
Blob value)
This method updates the specified column to have a java.sql.Blob value. |
void |
ResultSet.updateClob(int columnIndex,
Clob value)
This method updates the specified column to have a java.sql.Clob value. |
void |
ResultSet.updateClob(java.lang.String columnName,
Clob value)
This method updates the specified column to have a java.sql.Clob value. |
void |
ResultSet.updateArray(int columnIndex,
Array value)
This method updates the specified column to have a java.sqlArray value. |
void |
ResultSet.updateArray(java.lang.String columnName,
Array value)
This method updates the specified column to have a java.sqlArray value. |