|
Oracle10g JDBC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdbc.driver.OracleResultSet
This abstract class contains all the results set public methods Oracle JDBC drivers expose to the outside world. All ResultSet implementation should extend this class. This class contains --
1. Oracle specific methods.
For example, getter and update methods for Datum types.
2. JDBC 1.2 methods.
3. JDBC 2.0 methods.
| Field Summary | |
static java.lang.String |
BUILD_DATE
|
static int |
CONCUR_READ_ONLY
|
static int |
CONCUR_UPDATABLE
|
static int |
FETCH_FORWARD
|
static int |
FETCH_REVERSE
|
static int |
FETCH_UNKNOWN
|
static boolean |
PRIVATE_TRACE
|
static boolean |
TRACE
|
static int |
TYPE_FORWARD_ONLY
|
static int |
TYPE_SCROLL_INSENSITIVE
|
static int |
TYPE_SCROLL_SENSITIVE
|
| Fields inherited from interface java.sql.ResultSet |
CLOSE_CURSORS_AT_COMMIT, HOLD_CURSORS_OVER_COMMIT |
| Constructor Summary | |
OracleResultSet()
|
|
| Method Summary | |
abstract boolean |
absolute(int row)
Implements JDBC 2.0 ResultSet.absolute. |
abstract void |
afterLast()
Implements JDBC 2.0 ResultSet.afterLast. |
abstract void |
beforeFirst()
Implements JDBC 2.0 ResultSet.beforeFirst. |
abstract void |
cancelRowUpdates()
Implements JDBC 2.0 ResultSet.cancelRowUpdates. |
abstract void |
clearWarnings()
Implements JDBC 1.0 ResultSet.clearWarnings. |
abstract void |
close()
Implements JDBC 1.0 ResultSet.close. |
abstract void |
deleteRow()
Implements JDBC 2.0 ResultSet.deleteRow. |
abstract int |
findColumn(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.findColumn. |
abstract boolean |
first()
Implements JDBC 2.0 ResultSet.first. |
abstract java.sql.Array |
getArray(int columnIndex)
Implements JDBC 2.0 ResultSet.getArray. |
abstract ARRAY |
getARRAY(int columnIndex)
Oracle extension. |
java.sql.Array |
getArray(java.lang.String columnName)
Implements JDBC 2.0 ResultSet.getArray. |
ARRAY |
getARRAY(java.lang.String columnName)
Oracle extension. |
abstract java.io.InputStream |
getAsciiStream(int columnIndex)
Implements JDBC 1.0 ResultSet.getAsciiStream. |
java.io.InputStream |
getAsciiStream(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getAsciiStream. |
abstract boolean |
getAutoRefetch()
Oracle extension. |
abstract BFILE |
getBfile(int columnIndex)
Oracle extension. |
abstract BFILE |
getBFILE(int columnIndex)
Oracle extension. |
BFILE |
getBfile(java.lang.String columnName)
Oracle extension. |
BFILE |
getBFILE(java.lang.String columnName)
Oracle extension. |
abstract java.math.BigDecimal |
getBigDecimal(int columnIndex)
Implements JDBC 2.0 ResultSet.getBigDecimal. |
abstract java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale)
Implements JDBC 1.0 ResultSet.getBigDecimal. |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName)
Implements JDBC 2.0 ResultSet.getBigDecimal. |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale)
Implements JDBC 1.0 ResultSet.getBigDecimal. |
abstract java.io.InputStream |
getBinaryStream(int columnIndex)
Implements JDBC 1.0 ResultSet.getBinaryStream. |
java.io.InputStream |
getBinaryStream(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getBinaryStream. |
abstract java.sql.Blob |
getBlob(int columnIndex)
Implements JDBC 2.0 ResultSet.getBlob. |
abstract BLOB |
getBLOB(int columnIndex)
Oracle extension. |
java.sql.Blob |
getBlob(java.lang.String columnName)
Implements JDBC 2.0 ResultSet.getBlob. |
BLOB |
getBLOB(java.lang.String columnName)
Oracle extension. |
abstract boolean |
getBoolean(int columnIndex)
Implements JDBC 1.0 ResultSet.getBoolean. |
boolean |
getBoolean(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getBoolean. |
abstract byte |
getByte(int columnIndex)
Implements JDBC 1.0 ResultSet.getByte. |
byte |
getByte(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getByte. |
abstract byte[] |
getBytes(int columnIndex)
Implements JDBC 1.0 ResultSet.getBytes. |
byte[] |
getBytes(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getBytes. |
abstract CHAR |
getCHAR(int columnIndex)
Oracle extension. |
CHAR |
getCHAR(java.lang.String columnName)
Oracle extension. |
abstract java.io.Reader |
getCharacterStream(int columnIndex)
Implements JDBC 2.0 ResultSet.getCharacterStream. |
java.io.Reader |
getCharacterStream(java.lang.String columnName)
Implements JDBC 2.0 ResultSet.getCharacterStream. |
abstract java.sql.Clob |
getClob(int columnIndex)
Implements JDBC 2.0 ResultSet. |
abstract CLOB |
getCLOB(int columnIndex)
Oracle extension. |
java.sql.Clob |
getClob(java.lang.String columnName)
Implements JDBC 2.0 ResultSet. |
CLOB |
getCLOB(java.lang.String columnName)
Oracle extension. |
abstract int |
getConcurrency()
Implements JDBC 2.0 ResultSet.getConcurrency. |
abstract java.sql.ResultSet |
getCursor(int columnIndex)
Oracle extension. |
java.sql.ResultSet |
getCursor(java.lang.String columnName)
Oracle extension. |
abstract java.lang.String |
getCursorName()
Implements JDBC 1.0 ResultSet.getCursorName. |
abstract CustomDatum |
getCustomDatum(int columnIndex,
CustomDatumFactory factory)
Deprecated. |
CustomDatum |
getCustomDatum(java.lang.String columnName,
CustomDatumFactory factory)
Deprecated. |
abstract java.sql.Date |
getDate(int columnIndex)
Implements JDBC 1.0 ResultSet.getDate. |
abstract DATE |
getDATE(int columnIndex)
Oracle extension. |
abstract java.sql.Date |
getDate(int columnIndex,
java.util.Calendar cal)
Implements JDBC 2.0 ResultSet.getDate (idx, calendar). |
java.sql.Date |
getDate(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getDate. |
DATE |
getDATE(java.lang.String columnName)
Oracle extension. |
java.sql.Date |
getDate(java.lang.String columnName,
java.util.Calendar cal)
Implements JDBC 2.0 ResultSet.getDate (idx, calendar). |
abstract double |
getDouble(int columnIndex)
Implements JDBC 1.0 ResultSet.getDouble. |
double |
getDouble(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getDouble. |
abstract int |
getFetchDirection()
Implements JDBC 2.0 ResultSet.getFetchDirection. |
abstract int |
getFetchSize()
Implements JDBC 2.0 ResultSet.getFetchSize. |
abstract float |
getFloat(int columnIndex)
Implements JDBC 1.0 ResultSet.getFloat. |
float |
getFloat(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getFloat. |
abstract int |
getInt(int columnIndex)
Implements JDBC 1.0 ResultSet.getInt. |
int |
getInt(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getInt. |
INTERVALDS |
getINTERVALDS(int columnIndex)
Obtain an oralce.sql.INTERVALDS value from the ResultSet. |
INTERVALDS |
getINTERVALDS(java.lang.String columnName)
Obtain an oralce.sql.INTERVALDS value from the ResultSet. |
INTERVALYM |
getINTERVALYM(int columnIndex)
Obtain an oralce.sql.INTERVALYM value from the ResultSet. |
INTERVALYM |
getINTERVALYM(java.lang.String columnName)
Obtain an oralce.sql.INTERVALYM value from the ResultSet. |
abstract long |
getLong(int columnIndex)
Implements JDBC 1.0 ResultSet.getLong. |
long |
getLong(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getLong. |
abstract java.sql.ResultSetMetaData |
getMetaData()
Implements JDBC 1.0 ResultSet.getMetaData. |
abstract NUMBER |
getNUMBER(int columnIndex)
Oracle extension. |
NUMBER |
getNUMBER(java.lang.String columnName)
Oracle extension. |
abstract java.lang.Object |
getObject(int columnIndex)
Implements JDBC 1.0 ResultSet.getObject. |
abstract java.lang.Object |
getObject(int columnIndex,
java.util.Map map)
Implements JDBC 2.0 ResultSet.getObject (idx, map). |
java.lang.Object |
getObject(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getObject. |
java.lang.Object |
getObject(java.lang.String columnName,
java.util.Map map)
Implements JDBC 2.0 ResultSet.getObject (idx, map). |
abstract OPAQUE |
getOPAQUE(int columnIndex)
Oracle extension. |
OPAQUE |
getOPAQUE(java.lang.String columnName)
Oracle extension. |
abstract Datum |
getOracleObject(int columnIndex)
Oracle extension. |
Datum |
getOracleObject(java.lang.String columnName)
Oracle extension. |
abstract ORAData |
getORAData(int columnIndex,
ORADataFactory factory)
Oracle extension. |
ORAData |
getORAData(java.lang.String columnName,
ORADataFactory factory)
Oracle extension. |
abstract RAW |
getRAW(int columnIndex)
Oracle extension. |
RAW |
getRAW(java.lang.String columnName)
Oracle extension. |
abstract java.sql.Ref |
getRef(int columnIndex)
Implements JDBC 2.0 ResultSet.getRef. |
abstract REF |
getREF(int columnIndex)
Oracle extension. |
java.sql.Ref |
getRef(java.lang.String columnName)
Implements JDBC 2.0 ResultSet.getRef. |
REF |
getREF(java.lang.String columnName)
/ Oracle extension. |
abstract int |
getRow()
Implements JDBC 2.0 ResultSet.getRow. |
abstract ROWID |
getROWID(int columnIndex)
Oracle extension. |
ROWID |
getROWID(java.lang.String columnName)
Oracle extension. |
abstract short |
getShort(int columnIndex)
Implements JDBC 1.0 ResultSet.getShort. |
short |
getShort(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getShort. |
abstract java.sql.Statement |
getStatement()
Implements JDBC 2.0 ResultSet.getStatement. |
abstract java.lang.String |
getString(int columnIndex)
Implements JDBC 1.0 ResultSet.getString. |
java.lang.String |
getString(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getString. |
abstract STRUCT |
getSTRUCT(int columnIndex)
Oracle extension. |
STRUCT |
getSTRUCT(java.lang.String columnName)
Oracle extension. |
abstract java.sql.Time |
getTime(int columnIndex)
Implements JDBC 1.0 ResultSet.getTime. |
abstract java.sql.Time |
getTime(int columnIndex,
java.util.Calendar cal)
Implements JDBC 2.0 ResultSet.getTime (idx, calendar). |
java.sql.Time |
getTime(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getTime. |
java.sql.Time |
getTime(java.lang.String columnName,
java.util.Calendar cal)
Implements JDBC 2.0 ResultSet.getTime (idx, calendar). |
abstract java.sql.Timestamp |
getTimestamp(int columnIndex)
Implements JDBC 1.0 ResultSet.getTimestamp. |
TIMESTAMP |
getTIMESTAMP(int columnIndex)
Obtain an oralce.sql.TIMESTAMP value from the ResultSet. |
abstract java.sql.Timestamp |
getTimestamp(int columnIndex,
java.util.Calendar cal)
Implements JDBC 2.0 ResultSet.getTimestamp (idx, calendar). |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getTimestamp. |
TIMESTAMP |
getTIMESTAMP(java.lang.String columnName)
Obtain an oralce.sql.TIMESTAMP value from the ResultSet. |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
Implements JDBC 2.0 ResultSet.getTimestamp (idx, calendar). |
TIMESTAMPLTZ |
getTIMESTAMPLTZ(int columnIndex)
Obtain an oralce.sql.TIMESTAMPLTZ value from the ResultSet. |
TIMESTAMPLTZ |
getTIMESTAMPLTZ(java.lang.String columnName)
Obtain an oralce.sql.TIMESTAMPLTZ value from the ResultSet. |
TIMESTAMPTZ |
getTIMESTAMPTZ(int columnIndex)
Obtain an oralce.sql.TIMESTAMPTZ value from the ResultSet. |
TIMESTAMPTZ |
getTIMESTAMPTZ(java.lang.String columnName)
Obtain an oralce.sql.TIMESTAMPTZ value from the ResultSet. |
abstract int |
getType()
Implements JDBC 2.0 ResultSet.getType. |
abstract java.io.InputStream |
getUnicodeStream(int columnIndex)
Implements JDBC 1.0 ResultSet.getUnicodeStream. |
java.io.InputStream |
getUnicodeStream(java.lang.String columnName)
Implements JDBC 1.0 ResultSet.getUnicodeStream. |
abstract java.net.URL |
getURL(int columnIndex)
JDBC 3.0 Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL
object in the Java programming language. |
java.net.URL |
getURL(java.lang.String columnName)
JDBC 3.0 Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL
object in the Java programming language. |
abstract java.sql.SQLWarning |
getWarnings()
Implements JDBC 1.0 ResultSet.getWarnings. |
abstract void |
insertRow()
Implements JDBC 2.0 ResultSet.insertRow. |
abstract boolean |
isAfterLast()
Implements JDBC 2.0 ResultSet.isAfterLast. |
abstract boolean |
isBeforeFirst()
Implements JDBC 2.0 ResultSet.isBeforeFirst. |
abstract boolean |
isFirst()
Implements JDBC 2.0 ResultSet.isFirst. |
abstract boolean |
isLast()
Implements JDBC 2.0 ResultSet.isLast. |
abstract boolean |
last()
Implements JDBC 2.0 ResultSet.last. |
abstract void |
moveToCurrentRow()
Implements JDBC 2.0 ResultSet.moveToCurrentRow. |
abstract void |
moveToInsertRow()
Implements JDBC 2.0 ResultSet.moveToInsertRow. |
abstract boolean |
next()
Implements JDBC 1.0 ResultSet.next. |
abstract boolean |
previous()
Implements JDBC 2.0 ResultSet.previous. |
abstract void |
refreshRow()
Implements JDBC 2.0 ResultSet.refreshRow. |
abstract boolean |
relative(int rows)
Implements JDBC 2.0 ResultSet.relative. |
abstract boolean |
rowDeleted()
Implements JDBC 2.0 ResultSet.rowDeleted. |
abstract boolean |
rowInserted()
Implements JDBC 2.0 ResultSet.rowInserted. |
abstract boolean |
rowUpdated()
Implements JDBC 2.0 ResultSet.rowUpdated. |
abstract void |
setAutoRefetch(boolean autoRefetch)
Oracle extension. |
abstract void |
setFetchDirection(int direction)
Implements JDBC 2.0 ResultSet.setFetchDirection. |
abstract void |
setFetchSize(int rows)
Implements JDBC 2.0 ResultSet.setFetchSize. |
abstract void |
updateArray(int columnIndex,
java.sql.Array x)
Oracle extension. |
abstract void |
updateARRAY(int columnIndex,
ARRAY x)
Oracle extension. |
void |
updateArray(java.lang.String columnName,
java.sql.Array x)
Oracle extension. |
void |
updateARRAY(java.lang.String columnName,
ARRAY x)
Oracle extension. |
abstract void |
updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length)
Implements JDBC 2.0 ResultSet.updateAsciiStream. |
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length)
Implements JDBC 2.0 ResultSet.updateAsciiStream. |
abstract void |
updateBfile(int columnIndex,
BFILE X)
Oracle extension. |
abstract void |
updateBFILE(int columnIndex,
BFILE x)
Oracle extension. |
void |
updateBfile(java.lang.String columnName,
BFILE x)
Oracle extension. |
void |
updateBFILE(java.lang.String columnName,
BFILE x)
Oracle extension. |
abstract void |
updateBigDecimal(int columnIndex,
java.math.BigDecimal x)
Implements JDBC 2.0 ResultSet.updateBigDecimal. |
void |
updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
Implements JDBC 2.0 ResultSet.updateBigDecimal. |
abstract void |
updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length)
Implements JDBC 2.0 ResultSet.updateBinaryStream. |
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length)
Implements JDBC 2.0 ResultSet.updateBinaryStream. |
abstract void |
updateBlob(int columnIndex,
java.sql.Blob x)
Oracle extension. |
abstract void |
updateBLOB(int columnIndex,
BLOB x)
Oracle extension. |
void |
updateBlob(java.lang.String columnName,
java.sql.Blob x)
Oracle extension. |
void |
updateBLOB(java.lang.String columnName,
BLOB x)
Oracle extension. |
abstract void |
updateBoolean(int columnIndex,
boolean x)
Implements JDBC 2.0 ResultSet.updateBoolean. |
void |
updateBoolean(java.lang.String columnName,
boolean x)
Implements JDBC 2.0 ResultSet.updateBoolean. |
abstract void |
updateByte(int columnIndex,
byte x)
Implements JDBC 2.0 ResultSet.updateByte. |
void |
updateByte(java.lang.String columnName,
byte x)
Implements JDBC 2.0 ResultSet.updateByte. |
abstract void |
updateBytes(int columnIndex,
byte[] x)
Implements JDBC 2.0 ResultSet.updateBytes. |
void |
updateBytes(java.lang.String columnName,
byte[] x)
Implements JDBC 2.0 ResultSet.updateBytes. |
abstract void |
updateCHAR(int columnIndex,
CHAR x)
Oracle extension. |
void |
updateCHAR(java.lang.String columnName,
CHAR x)
Oracle extension. |
abstract void |
updateCharacterStream(int columnIndex,
java.io.Reader x,
int length)
Implements JDBC 2.0 ResultSet.updateCharacterStream. |
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
Implements JDBC 2.0 ResultSet.updateCharacterStream. |
abstract void |
updateClob(int columnIndex,
java.sql.Clob x)
Oracle extension. |
abstract void |
updateCLOB(int columnIndex,
CLOB x)
Oracle extension. |
void |
updateClob(java.lang.String columnName,
java.sql.Clob x)
Oracle extension. |
void |
updateCLOB(java.lang.String columnName,
CLOB x)
Oracle extension. |
abstract void |
updateCustomDatum(int columnIndex,
CustomDatum x)
Deprecated. |
void |
updateCustomDatum(java.lang.String columnName,
CustomDatum x)
Deprecated. |
abstract void |
updateDate(int columnIndex,
java.sql.Date x)
Implements JDBC 2.0 ResultSet.updateDate. |
abstract void |
updateDATE(int columnIndex,
DATE x)
Oracle extension. |
void |
updateDate(java.lang.String columnName,
java.sql.Date x)
Implements JDBC 2.0 ResultSet.updateDate. |
void |
updateDATE(java.lang.String columnName,
DATE x)
Oracle extension. |
abstract void |
updateDouble(int columnIndex,
double x)
Implements JDBC 2.0 ResultSet.updateDouble. |
void |
updateDouble(java.lang.String columnName,
double x)
Implements JDBC 2.0 ResultSet.updateDouble. |
abstract void |
updateFloat(int columnIndex,
float x)
Implements JDBC 2.0 ResultSet.updateFloat. |
void |
updateFloat(java.lang.String columnName,
float x)
Implements JDBC 2.0 ResultSet.updateFloat. |
abstract void |
updateInt(int columnIndex,
int x)
Implements JDBC 2.0 ResultSet.. |
void |
updateInt(java.lang.String columnName,
int x)
Implements JDBC 2.0 ResultSet.. |
abstract void |
updateINTERVALDS(int columnIndex,
INTERVALDS x)
Oracle extension. |
abstract void |
updateINTERVALYM(int columnIndex,
INTERVALYM x)
Oracle extension. |
abstract void |
updateLong(int columnIndex,
long x)
Implements JDBC 2.0 ResultSet.updateLong. |
void |
updateLong(java.lang.String columnName,
long x)
Implements JDBC 2.0 ResultSet.updateLong. |
abstract void |
updateNull(int columnIndex)
Implements JDBC 2.0 ResultSet.updateNull. |
void |
updateNull(java.lang.String columnName)
Implements JDBC 2.0 ResultSet.updateNull. |
abstract void |
updateNUMBER(int columnIndex,
NUMBER x)
Oracle extension. |
void |
updateNUMBER(java.lang.String columnName,
NUMBER x)
Oracle extension. |
abstract void |
updateObject(int columnIndex,
java.lang.Object x)
Implements JDBC 2.0 ResultSet.updateObject. |
abstract void |
updateObject(int columnIndex,
java.lang.Object x,
int scale)
Implements JDBC 2.0 ResultSet.updateObject. |
void |
updateObject(java.lang.String columnName,
java.lang.Object x)
Implements JDBC 2.0 ResultSet.updateObject. |
void |
updateObject(java.lang.String columnName,
java.lang.Object x,
int scale)
Implements JDBC 2.0 ResultSet.updateObject. |
abstract void |
updateOPAQUE(int columnIndex,
OPAQUE x)
Oracle extension. |
void |
updateOPAQUE(java.lang.String columnName,
OPAQUE x)
Oracle extension. |
abstract void |
updateOracleObject(int columnIndex,
Datum x)
Oracle extension. |
void |
updateOracleObject(java.lang.String columnName,
Datum x)
Oracle extension. |
abstract void |
updateORAData(int columnIndex,
ORAData x)
Oracle extension. |
void |
updateORAData(java.lang.String columnName,
ORAData x)
Oracle extension. |
abstract void |
updateRAW(int columnIndex,
RAW x)
Oracle extension. |
void |
updateRAW(java.lang.String columnName,
RAW x)
Oracle extension. |
abstract void |
updateRef(int columnIndex,
java.sql.Ref x)
Oracle extension. |
abstract void |
updateREF(int columnIndex,
REF x)
Oracle extension. |
void |
updateRef(java.lang.String columnName,
java.sql.Ref x)
Oracle extension. |
void |
updateREF(java.lang.String columnName,
REF x)
Oracle extension. |
abstract void |
updateRow()
Implements JDBC 2.0 ResultSet.updateRow. |
abstract void |
updateROWID(int columnIndex,
ROWID x)
Oracle extension. |
void |
updateROWID(java.lang.String columnName,
ROWID x)
Oracle extension. |
abstract void |
updateShort(int columnIndex,
short x)
Implements JDBC 2.0 ResultSet.updateShort. |
void |
updateShort(java.lang.String columnName,
short x)
Implements JDBC 2.0 ResultSet.updateShort. |
abstract void |
updateString(int columnIndex,
java.lang.String x)
Implements JDBC 2.0 ResultSet.updateString. |
void |
updateString(java.lang.String columnName,
java.lang.String x)
Implements JDBC 2.0 ResultSet.updateString. |
abstract void |
updateSTRUCT(int columnIndex,
STRUCT x)
Oracle extension. |
void |
updateSTRUCT(java.lang.String columnName,
STRUCT x)
Oracle extension. |
abstract void |
updateTime(int columnIndex,
java.sql.Time x)
Implements JDBC 2.0 ResultSet.updateTime. |
void |
updateTime(java.lang.String columnName,
java.sql.Time x)
Implements JDBC 2.0 ResultSet.updateTime. |
abstract void |
updateTimestamp(int columnIndex,
java.sql.Timestamp x)
Implements JDBC 2.0 ResultSet.updateTimestamp. |
abstract void |
updateTIMESTAMP(int columnIndex,
TIMESTAMP x)
Oracle extension. |
void |
updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x)
Implements JDBC 2.0 ResultSet.updateTimestamp. |
abstract void |
updateTIMESTAMPLTZ(int columnIndex,
TIMESTAMPLTZ x)
Oracle extension. |
abstract void |
updateTIMESTAMPTZ(int columnIndex,
TIMESTAMPTZ x)
Oracle extension. |
abstract boolean |
wasNull()
Implements JDBC 1.0 ResultSet.wasNull. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FETCH_FORWARD
public static final int FETCH_REVERSE
public static final int FETCH_UNKNOWN
public static final int TYPE_FORWARD_ONLY
public static final int TYPE_SCROLL_INSENSITIVE
public static final int TYPE_SCROLL_SENSITIVE
public static final int CONCUR_READ_ONLY
public static final int CONCUR_UPDATABLE
public static final boolean TRACE
public static final boolean PRIVATE_TRACE
public static final java.lang.String BUILD_DATE
| Constructor Detail |
public OracleResultSet()
| Method Detail |
public abstract java.sql.ResultSet getCursor(int columnIndex)
throws java.sql.SQLException
getCursor in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs
public abstract Datum getOracleObject(int columnIndex)
throws java.sql.SQLException
getOracleObject in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract ROWID getROWID(int columnIndex)
throws java.sql.SQLException
getROWID in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract NUMBER getNUMBER(int columnIndex)
throws java.sql.SQLException
getNUMBER in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract DATE getDATE(int columnIndex)
throws java.sql.SQLException
getDATE in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract ARRAY getARRAY(int columnIndex)
throws java.sql.SQLException
getARRAY in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract STRUCT getSTRUCT(int columnIndex)
throws java.sql.SQLException
getSTRUCT in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.getORAData
public abstract OPAQUE getOPAQUE(int columnIndex)
throws java.sql.SQLException
getOPAQUE in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.getORAData
public abstract REF getREF(int columnIndex)
throws java.sql.SQLException
getREF in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract CHAR getCHAR(int columnIndex)
throws java.sql.SQLException
getCHAR in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract RAW getRAW(int columnIndex)
throws java.sql.SQLException
getRAW in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract BLOB getBLOB(int columnIndex)
throws java.sql.SQLException
getBLOB in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract CLOB getCLOB(int columnIndex)
throws java.sql.SQLException
getCLOB in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract BFILE getBFILE(int columnIndex)
throws java.sql.SQLException
getBFILE in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract BFILE getBfile(int columnIndex)
throws java.sql.SQLException
getBfile in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs.
public abstract CustomDatum getCustomDatum(int columnIndex,
CustomDatumFactory factory)
throws java.sql.SQLException
getCustomDatum in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...factory - CustomDatumFactory used to materialize the column value
java.sql.SQLException - if a database access error occurs.
public abstract ORAData getORAData(int columnIndex,
ORADataFactory factory)
throws java.sql.SQLException
getORAData in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...factory - ORADataFactory used to materialize the column value
java.sql.SQLException - if a database access error occurs.
public java.sql.ResultSet getCursor(java.lang.String columnName)
throws java.sql.SQLException
getCursor in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs
public ROWID getROWID(java.lang.String columnName)
throws java.sql.SQLException
getROWID in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.
public NUMBER getNUMBER(java.lang.String columnName)
throws java.sql.SQLException
getNUMBER in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.
public DATE getDATE(java.lang.String columnName)
throws java.sql.SQLException
getDATE in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.
public Datum getOracleObject(java.lang.String columnName)
throws java.sql.SQLException
getOracleObject in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.
public ARRAY getARRAY(java.lang.String columnName)
throws java.sql.SQLException
getARRAY in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.
public STRUCT getSTRUCT(java.lang.String columnName)
throws java.sql.SQLException
getSTRUCT in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.getORAData
public OPAQUE getOPAQUE(java.lang.String columnName)
throws java.sql.SQLException
getOPAQUE in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.getORAData
public REF getREF(java.lang.String columnName)
throws java.sql.SQLException
getREF in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database acc
public CHAR getCHAR(java.lang.String columnName)
throws java.sql.SQLException
getCHAR in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.
public RAW getRAW(java.lang.String columnName)
throws java.sql.SQLException
getRAW in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.
public BLOB getBLOB(java.lang.String columnName)
throws java.sql.SQLException
getBLOB in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.
public CLOB getCLOB(java.lang.String columnName)
throws java.sql.SQLException
getCLOB in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.
public BFILE getBFILE(java.lang.String columnName)
throws java.sql.SQLException
getBFILE in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.
public BFILE getBfile(java.lang.String columnName)
throws java.sql.SQLException
getBfile in interface OracleResultSetcolumnName - the name of the column
java.sql.SQLException - if a database access error occurs.
public CustomDatum getCustomDatum(java.lang.String columnName,
CustomDatumFactory factory)
throws java.sql.SQLException
This method is deprecated. It is recommended to use getORAData().
getCustomDatum in interface OracleResultSetcolumnName - the name of the columnfactory - CustomDatumFactory used to materialize the column value
java.sql.SQLException - if a database access error occurs.
public ORAData getORAData(java.lang.String columnName,
ORADataFactory factory)
throws java.sql.SQLException
getORAData in interface OracleResultSetcolumnName - the name of the columnfactory - ORADataFactory used to materialize the column value
java.sql.SQLException - if a database access error occurs.
public abstract void updateOracleObject(int columnIndex,
Datum x)
throws java.sql.SQLException
updateOracleObject in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateROWID(int columnIndex,
ROWID x)
throws java.sql.SQLException
updateROWID in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateNUMBER(int columnIndex,
NUMBER x)
throws java.sql.SQLException
updateNUMBER in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateDATE(int columnIndex,
DATE x)
throws java.sql.SQLException
updateDATE in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateINTERVALYM(int columnIndex,
INTERVALYM x)
throws java.sql.SQLException
updateINTERVALYM in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateINTERVALDS(int columnIndex,
INTERVALDS x)
throws java.sql.SQLException
updateINTERVALDS in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateTIMESTAMP(int columnIndex,
TIMESTAMP x)
throws java.sql.SQLException
updateTIMESTAMP in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateTIMESTAMPTZ(int columnIndex,
TIMESTAMPTZ x)
throws java.sql.SQLException
updateTIMESTAMPTZ in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateTIMESTAMPLTZ(int columnIndex,
TIMESTAMPLTZ x)
throws java.sql.SQLException
updateTIMESTAMPLTZ in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateARRAY(int columnIndex,
ARRAY x)
throws java.sql.SQLException
updateARRAY in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateSTRUCT(int columnIndex,
STRUCT x)
throws java.sql.SQLException
updateSTRUCT in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateOPAQUE(int columnIndex,
OPAQUE x)
throws java.sql.SQLException
columnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateREF(int columnIndex,
REF x)
throws java.sql.SQLException
updateREF in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateCHAR(int columnIndex,
CHAR x)
throws java.sql.SQLException
updateCHAR in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateRAW(int columnIndex,
RAW x)
throws java.sql.SQLException
updateRAW in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateBLOB(int columnIndex,
BLOB x)
throws java.sql.SQLException
updateBLOB in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateCLOB(int columnIndex,
CLOB x)
throws java.sql.SQLException
updateCLOB in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateBFILE(int columnIndex,
BFILE x)
throws java.sql.SQLException
updateBFILE in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateBfile(int columnIndex,
BFILE X)
throws java.sql.SQLException
updateBfile in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs
public abstract void updateCustomDatum(int columnIndex,
CustomDatum x)
throws java.sql.SQLException
updateCustomDatum in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateORAData(int columnIndex,
ORAData x)
throws java.sql.SQLException
updateORAData in interface OracleResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateRef(int columnIndex,
java.sql.Ref x)
throws java.sql.SQLException
updateRef in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateBlob(int columnIndex,
java.sql.Blob x)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateClob(int columnIndex,
java.sql.Clob x)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateArray(int columnIndex,
java.sql.Array x)
throws java.sql.SQLException
updateArray in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public void updateROWID(java.lang.String columnName,
ROWID x)
throws java.sql.SQLException
updateROWID in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateNUMBER(java.lang.String columnName,
NUMBER x)
throws java.sql.SQLException
updateNUMBER in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateDATE(java.lang.String columnName,
DATE x)
throws java.sql.SQLException
updateDATE in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateOracleObject(java.lang.String columnName,
Datum x)
throws java.sql.SQLException
updateOracleObject in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateARRAY(java.lang.String columnName,
ARRAY x)
throws java.sql.SQLException
updateARRAY in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateSTRUCT(java.lang.String columnName,
STRUCT x)
throws java.sql.SQLException
updateSTRUCT in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateOPAQUE(java.lang.String columnName,
OPAQUE x)
throws java.sql.SQLException
columnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateREF(java.lang.String columnName,
REF x)
throws java.sql.SQLException
updateREF in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateCHAR(java.lang.String columnName,
CHAR x)
throws java.sql.SQLException
updateCHAR in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateRAW(java.lang.String columnName,
RAW x)
throws java.sql.SQLException
updateRAW in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateBLOB(java.lang.String columnName,
BLOB x)
throws java.sql.SQLException
updateBLOB in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateCLOB(java.lang.String columnName,
CLOB x)
throws java.sql.SQLException
updateCLOB in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateBFILE(java.lang.String columnName,
BFILE x)
throws java.sql.SQLException
updateBFILE in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateBfile(java.lang.String columnName,
BFILE x)
throws java.sql.SQLException
updateBfile in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateCustomDatum(java.lang.String columnName,
CustomDatum x)
throws java.sql.SQLException
updateCustomDatum in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateORAData(java.lang.String columnName,
ORAData x)
throws java.sql.SQLException
updateORAData in interface OracleResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateRef(java.lang.String columnName,
java.sql.Ref x)
throws java.sql.SQLException
updateRef in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateBlob(java.lang.String columnName,
java.sql.Blob x)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateClob(java.lang.String columnName,
java.sql.Clob x)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateArray(java.lang.String columnName,
java.sql.Array x)
throws java.sql.SQLException
updateArray in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void setAutoRefetch(boolean autoRefetch)
throws java.sql.SQLException
autoRefetch - true enables auto-refetch; false disables auto-refetch.
java.sql.SQLException - if a database access error occurs
public abstract boolean getAutoRefetch()
throws java.sql.SQLException
java.sql.SQLException - if a database access error occurssetAutoRefetch(boolean)
public abstract java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
getWarnings in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.
public abstract void clearWarnings()
throws java.sql.SQLException
clearWarnings in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.
public abstract java.lang.String getCursorName()
throws java.sql.SQLException
getCursorName in interface java.sql.ResultSetjava.sql.SQLException - always
public abstract java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.
public abstract int findColumn(java.lang.String columnName)
throws java.sql.SQLException
findColumn in interface java.sql.ResultSetcolumnName - the name of the column
java.sql.SQLException - if a database-access error occurs.
public abstract boolean next()
throws java.sql.SQLException
next in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.
public abstract void close()
throws java.sql.SQLException
Note: Because finalization is problematic for many Java VMs, Oracle JDBC does not have finalizer methods on OracleConnection, OracleStatement and its subclasses, nor OracleResultSet and its subclasses. User code must explicitly close these by sending the close method.
close in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.
public abstract boolean wasNull()
throws java.sql.SQLException
wasNull in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.
public abstract java.lang.Object getObject(int columnIndex)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract java.lang.String getString(int columnIndex)
throws java.sql.SQLException
getString in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract boolean getBoolean(int columnIndex)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract byte getByte(int columnIndex)
throws java.sql.SQLException
getByte in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract short getShort(int columnIndex)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract int getInt(int columnIndex)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract long getLong(int columnIndex)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract float getFloat(int columnIndex)
throws java.sql.SQLException
getFloat in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract double getDouble(int columnIndex)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract java.math.BigDecimal getBigDecimal(int columnIndex,
int scale)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...scale - the number of digits to the right of the decimal
java.sql.SQLException - if a database-access error occurs.
public abstract byte[] getBytes(int columnIndex)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract java.sql.Date getDate(int columnIndex)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract java.sql.Time getTime(int columnIndex)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract java.sql.Timestamp getTimestamp(int columnIndex)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract java.io.InputStream getAsciiStream(int columnIndex)
throws java.sql.SQLException
getAsciiStream in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract java.io.InputStream getUnicodeStream(int columnIndex)
throws java.sql.SQLException
getUnicodeStream in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract java.io.InputStream getBinaryStream(int columnIndex)
throws java.sql.SQLException
getBinaryStream in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public java.lang.Object getObject(java.lang.String columnName)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.
public java.lang.String getString(java.lang.String columnName)
throws java.sql.SQLException
getString in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public boolean getBoolean(java.lang.String columnName)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public byte getByte(java.lang.String columnName)
throws java.sql.SQLException
getByte in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a databas
public short getShort(java.lang.String columnName)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public int getInt(java.lang.String columnName)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public long getLong(java.lang.String columnName)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public float getFloat(java.lang.String columnName)
throws java.sql.SQLException
getFloat in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public double getDouble(java.lang.String columnName)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
int scale)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetcolumnName - is the SQL name of the columnscale - the number of digits to the right of the decimal
java.sql.SQLException - if a database-access error occurs.
public byte[] getBytes(java.lang.String columnName)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public java.sql.Date getDate(java.lang.String columnName)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public java.sql.Time getTime(java.lang.String columnName)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public java.sql.Timestamp getTimestamp(java.lang.String columnName)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public java.io.InputStream getAsciiStream(java.lang.String columnName)
throws java.sql.SQLException
getAsciiStream in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public java.io.InputStream getUnicodeStream(java.lang.String columnName)
throws java.sql.SQLException
getUnicodeStream in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public java.io.InputStream getBinaryStream(java.lang.String columnName)
throws java.sql.SQLException
getBinaryStream in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public abstract java.lang.Object getObject(int columnIndex,
java.util.Map map)
throws java.sql.SQLException
Map object
for the custom mapping of the
SQL structured or distinct type that is being retrieved.
getObject in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...map - the mapping from SQL type names to Java classes
java.sql.SQLException - if a database-access error occurs.
public abstract java.sql.Ref getRef(int columnIndex)
throws java.sql.SQLException
getRef in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
Ref object representing an SQL REF value
java.sql.SQLException - if a database-access error occurs.
public abstract java.sql.Blob getBlob(int columnIndex)
throws java.sql.SQLException
ResultSet object.
getBlob in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
Blob object representing the SQL BLOB value in
the specified column
java.sql.SQLException - if a database-access error occurs.
public abstract java.sql.Clob getClob(int columnIndex)
throws java.sql.SQLException
ResultSet object.
getClob in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
Clob object representing the SQL CLOB value in
the specified column
java.sql.SQLException - if a database-access error occurs.
public abstract java.sql.Array getArray(int columnIndex)
throws java.sql.SQLException
ResultSet object.
getArray in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
Array object representing the SQL ARRAY value in
the specified column
java.sql.SQLException - if a database-access error occurs.
public abstract java.io.Reader getCharacterStream(int columnIndex)
throws java.sql.SQLException
Gets the value of a column in the current row as a java.io.Reader.
getCharacterStream in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database-access error occurs.
public abstract java.math.BigDecimal getBigDecimal(int columnIndex)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs
public abstract java.sql.Date getDate(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...cal - the calendar to use in constructing the date
java.sql.SQLException - if a database access error occurs
public abstract java.sql.Time getTime(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...cal - the calendar to use in constructing the time
java.sql.SQLException - if a database access error occurs
public abstract java.sql.Timestamp getTimestamp(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...cal - the calendar to use in constructing the time
java.sql.SQLException - if a database access error occurs
public TIMESTAMP getTIMESTAMP(int columnIndex)
throws java.sql.SQLException
OracleResultSet
getTIMESTAMP in interface OracleResultSetcolumnIndex - parameter number.
java.sql.SQLException - if an error occurred.
public TIMESTAMP getTIMESTAMP(java.lang.String columnName)
throws java.sql.SQLException
OracleResultSet
getTIMESTAMP in interface OracleResultSetcolumnName - column name.
java.sql.SQLException - if an error occurred.
public TIMESTAMPTZ getTIMESTAMPTZ(int columnIndex)
throws java.sql.SQLException
OracleResultSet
getTIMESTAMPTZ in interface OracleResultSetcolumnIndex - parameter number.
java.sql.SQLException - if an error occurred.
public TIMESTAMPTZ getTIMESTAMPTZ(java.lang.String columnName)
throws java.sql.SQLException
OracleResultSet
getTIMESTAMPTZ in interface OracleResultSetcolumnName - column name.
java.sql.SQLException - if an error occurred.
public TIMESTAMPLTZ getTIMESTAMPLTZ(int columnIndex)
throws java.sql.SQLException
OracleResultSet
getTIMESTAMPLTZ in interface OracleResultSetcolumnIndex - parameter number.
java.sql.SQLException - if an error occurred.
public TIMESTAMPLTZ getTIMESTAMPLTZ(java.lang.String columnName)
throws java.sql.SQLException
OracleResultSet
getTIMESTAMPLTZ in interface OracleResultSetcolumnName - column name.
java.sql.SQLException - if an error occurred.
public INTERVALYM getINTERVALYM(int columnIndex)
throws java.sql.SQLException
OracleResultSet
getINTERVALYM in interface OracleResultSetcolumnIndex - parameter number.
java.sql.SQLException - if an error occurred.
public INTERVALYM getINTERVALYM(java.lang.String columnName)
throws java.sql.SQLException
OracleResultSet
getINTERVALYM in interface OracleResultSetjava.sql.SQLException - if an error occurred.
public INTERVALDS getINTERVALDS(int columnIndex)
throws java.sql.SQLException
OracleResultSet
getINTERVALDS in interface OracleResultSetcolumnIndex - parameter number.
java.sql.SQLException - if an error occurred.
public INTERVALDS getINTERVALDS(java.lang.String columnName)
throws java.sql.SQLException
OracleResultSet
getINTERVALDS in interface OracleResultSetjava.sql.SQLException - if an error occurred.
public java.lang.Object getObject(java.lang.String columnName,
java.util.Map map)
throws java.sql.SQLException
Map object
for the custom mapping of the
SQL structured or distinct type that is being retrieved.
getObject in interface java.sql.ResultSetcolumnName - is the SQL name of the columnmap - the mapping from SQL type names to Java classes
java.sql.SQLException - if a database-access error occurs.
public java.sql.Ref getRef(java.lang.String columnName)
throws java.sql.SQLException
getRef in interface java.sql.ResultSetcolumnName - is the SQL name of the column
Ref object representing an SQL REF value
java.sql.SQLException - if a database-access error occurs.
public java.sql.Blob getBlob(java.lang.String columnName)
throws java.sql.SQLException
ResultSet object.
getBlob in interface java.sql.ResultSetcolumnName - is the SQL name of the column
Blob object representing the SQL BLOB value in
the specified column
java.sql.SQLException - if a database-access error occurs.
public java.sql.Clob getClob(java.lang.String columnName)
throws java.sql.SQLException
ResultSet object.
getClob in interface java.sql.ResultSetcolumnName - is the SQL name of the column
Clob object representing the SQL CLOB value in
the specified column
java.sql.SQLException - if a database-access error occurs.
public java.io.Reader getCharacterStream(java.lang.String columnName)
throws java.sql.SQLException
Gets the value of a column in the current row as a java.io.Reader.
getCharacterStream in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database-access error occurs.
public java.sql.Array getArray(java.lang.String columnName)
throws java.sql.SQLException
ResultSet object
.
getArray in interface java.sql.ResultSetcolumnName - is the SQL name of the column
Array object representing the SQL ARRAY value in
the specified column
java.sql.SQLException - if a database-access error occurs.
public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database access error occurs
public java.sql.Date getDate(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetcolumnName - is the SQL name of the columncal - the calendar to use in constructing the date
java.sql.SQLException - if a database access error occurs
public java.sql.Time getTime(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetcolumnName - is the SQL name of the columncal - the calendar to use in constructing the time
java.sql.SQLException - if a database access error occurs
public java.sql.Timestamp getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetcolumnName - is the SQL name of the columncal - the calendar to use in constructing the time
java.sql.SQLException - if a database access error occurs
public abstract boolean isBeforeFirst()
throws java.sql.SQLException
Indicates whether the cursor is before the first row in the result set.
isBeforeFirst in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
public abstract boolean isAfterLast()
throws java.sql.SQLException
Indicates whether the cursor is after the last row in the result set.
isAfterLast in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
public abstract boolean isFirst()
throws java.sql.SQLException
Indicates whether the cursor is on the first row of the result set.
isFirst in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
public abstract boolean isLast()
throws java.sql.SQLException
Indicates whether the cursor is on the last row of the result set.
isLast in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs or the
result set type is TYPE_FORWARD_ONLY
public abstract void beforeFirst()
throws java.sql.SQLException
Moves the cursor to the front of the result set, just before the first row. Has no effect if the result set contains no rows.
beforeFirst in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs or the
result set type is TYPE_FORWARD_ONLY
public abstract void afterLast()
throws java.sql.SQLException
Moves the cursor to the end of the result set, just after the last row. Has no effect if the result set contains no rows.
afterLast in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs or the
result set type is TYPE_FORWARD_ONLY
public abstract boolean first()
throws java.sql.SQLException
Moves the cursor to the first row in the result set.
first in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs or the
result set type is TYPE_FORWARD_ONLY
public abstract boolean last()
throws java.sql.SQLException
Moves the cursor to the last row in the result set.
last in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs or the
result set type is TYPE_FORWARD_ONLY.
public abstract int getRow()
throws java.sql.SQLException
Retrieves the current row number. The first row is number 1, the second number 2, and so on.
getRow in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
public abstract boolean absolute(int row)
throws java.sql.SQLException
Moves the cursor to the given row number in the result set.
If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set.
If the given row number is negative, the cursor moves to an absolute row position with respect to the end of the result set.
An attempt to position the cursor beyond the first/last row in the result set leaves the cursor before/after the first/last row, respectively.
Note: Calling absolute(1) is the same
as calling first().
Calling absolute(-1) is the same as calling last().
absolute in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs or
row is 0, or result set type is TYPE_FORWARD_ONLY.
public abstract boolean relative(int rows)
throws java.sql.SQLException
Moves the cursor a relative number of rows, either positive or negative.
Attempting to move beyond the first/last row in the
result set positions the cursor before/after the
the first/last row. Calling relative(0) is valid, but does
not change the cursor position.
Note: Calling relative(1)
is different from calling next()
because is makes sense to call next() when there is no current row,
for example, when the cursor is positioned before the first row
or after the last row of the result set.
relative in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs, there
is no current row, or the result set type is TYPE_FORWARD_ONLY
public abstract boolean previous()
throws java.sql.SQLException
Moves the cursor to the previous row in the result set.
Note: previous() is not the same as
relative(-1) because it
makes sense to callprevious() when there is no current row.
previous in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs or the
result set type is TYPE_FORWARD_ONLY
public abstract void setFetchDirection(int direction)
throws java.sql.SQLException
setFetchDirection in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
public abstract int getFetchDirection()
throws java.sql.SQLException
getFetchDirection in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
public abstract void setFetchSize(int rows)
throws java.sql.SQLException
setFetchSize in interface java.sql.ResultSetrows - the number of rows to fetch
java.sql.SQLException - if a database access error occurs or the
condition 0 <= rows <= this.getMaxRows() is not satisfied.
public abstract int getFetchSize()
throws java.sql.SQLException
getFetchSize in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
public abstract int getType()
throws java.sql.SQLException
getType in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
public abstract int getConcurrency()
throws java.sql.SQLException
getConcurrency in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
public abstract void insertRow()
throws java.sql.SQLException
insertRow in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs,
if called when not on the insert row, or if not all of non-nullable columns in
the insert row have been given a value
public abstract void updateRow()
throws java.sql.SQLException
updateRow in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs or
if called when on the insert row
public abstract void deleteRow()
throws java.sql.SQLException
deleteRow in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs or if
called when on the insert row.
public abstract void refreshRow()
throws java.sql.SQLException
refreshRow is called after
calling updateXXX, but before calling updateRow, then the
updates made to the row are lost. Calling the method
refreshRow frequently will likely slow performance.
refreshRow in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs, or if
called when on the insert row, or the result set type is forward-only, or
the result set type is scroll-insensitive and concurrency type is read only.
public abstract void moveToInsertRow()
throws java.sql.SQLException
moveToInsertRow in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
or the result set is not updatable
public abstract void cancelRowUpdates()
throws java.sql.SQLException
updateXXX method(s) and before calling updateRow
to rollback the updates made to a row. If no updates have been made or
updateRow has already been called, then this method has no
effect.
cancelRowUpdates in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs or if
called when on the insert row
public abstract void moveToCurrentRow()
throws java.sql.SQLException
moveToCurrentRow in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
or the result set is not updatable
public abstract java.sql.Statement getStatement()
throws java.sql.SQLException
ResultSet object.
If the result set was generated some other way, such as by a
DatabaseMetaData method, this method returns null.
getStatement in interface java.sql.ResultSetjava.sql.SQLException - if a database access error occurs
public abstract boolean rowUpdated()
throws java.sql.SQLException
rowUpdated in interface java.sql.ResultSetjava.sql.SQLException
public abstract boolean rowInserted()
throws java.sql.SQLException
rowInserted in interface java.sql.ResultSetjava.sql.SQLException
public abstract boolean rowDeleted()
throws java.sql.SQLException
rowDeleted in interface java.sql.ResultSetjava.sql.SQLException
public abstract void updateNull(int columnIndex)
throws java.sql.SQLException
updateXXX methods are used to update column values in the
current row, or the insert row. The updateXXX methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateNull in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs
public abstract void updateBoolean(int columnIndex,
boolean x)
throws java.sql.SQLException
updateBoolean in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateByte(int columnIndex,
byte x)
throws java.sql.SQLException
updateByte in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateShort(int columnIndex,
short x)
throws java.sql.SQLException
updateShort in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateInt(int columnIndex,
int x)
throws java.sql.SQLException
updateInt in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateLong(int columnIndex,
long x)
throws java.sql.SQLException
updateLong in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateFloat(int columnIndex,
float x)
throws java.sql.SQLException
updateFloat in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateDouble(int columnIndex,
double x)
throws java.sql.SQLException
updateDouble in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateBigDecimal(int columnIndex,
java.math.BigDecimal x)
throws java.sql.SQLException
updateBigDecimal in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateString(int columnIndex,
java.lang.String x)
throws java.sql.SQLException
updateString in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateBytes(int columnIndex,
byte[] x)
throws java.sql.SQLException
updateBytes in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateDate(int columnIndex,
java.sql.Date x)
throws java.sql.SQLException
updateDate in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateTime(int columnIndex,
java.sql.Time x)
throws java.sql.SQLException
updateTime in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateTimestamp(int columnIndex,
java.sql.Timestamp x)
throws java.sql.SQLException
updateTimestamp in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public abstract void updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column valuelength - the length of the stream
java.sql.SQLException - if a database access error occurs
public abstract void updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column valuelength - the length of the stream
java.sql.SQLException - if a database access error occurs
public abstract void updateCharacterStream(int columnIndex,
java.io.Reader x,
int length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column valuelength - the length of the stream
java.sql.SQLException - if a database access error occurs
public abstract void updateObject(int columnIndex,
java.lang.Object x,
int scale)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column valuescale - For java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types
this is the number of digits after the decimal. For all other
types this value will be ignored.
java.sql.SQLException - if a database access error occurs
public abstract void updateObject(int columnIndex,
java.lang.Object x)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database access error occurs
public void updateNull(java.lang.String columnName)
throws java.sql.SQLException
updateXXX methods are used to update column values in the
current row, or the insert row. The updateXXX methods do not
update the underlying database; instead the updateRow or
insertRow methods are called to update the database.
updateNull in interface java.sql.ResultSetcolumnName - is the SQL name of the column
java.sql.SQLException - if a database access error occurs
public void updateBoolean(java.lang.String columnName,
boolean x)
throws java.sql.SQLException
updateBoolean in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateByte(java.lang.String columnName,
byte x)
throws java.sql.SQLException
updateByte in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateShort(java.lang.String columnName,
short x)
throws java.sql.SQLException
updateShort in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateInt(java.lang.String columnName,
int x)
throws java.sql.SQLException
updateInt in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateLong(java.lang.String columnName,
long x)
throws java.sql.SQLException
updateLong in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateFloat(java.lang.String columnName,
float x)
throws java.sql.SQLException
updateFloat in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateDouble(java.lang.String columnName,
double x)
throws java.sql.SQLException
updateDouble in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
throws java.sql.SQLException
updateBigDecimal in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateString(java.lang.String columnName,
java.lang.String x)
throws java.sql.SQLException
updateString in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateBytes(java.lang.String columnName,
byte[] x)
throws java.sql.SQLException
updateBytes in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateDate(java.lang.String columnName,
java.sql.Date x)
throws java.sql.SQLException
updateDate in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateTime(java.lang.String columnName,
java.sql.Time x)
throws java.sql.SQLException
updateTime in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x)
throws java.sql.SQLException
updateTimestamp in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public void updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column valuelength - the length of the stream
java.sql.SQLException - if a database access error occurs
public void updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column valuelength - the length of the stream
java.sql.SQLException - if a database access error occurs
public void updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetcolumnName - is the SQL name of the columnlength - the length of the stream
java.sql.SQLException - if a database access error occurs
public void updateObject(java.lang.String columnName,
java.lang.Object x,
int scale)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column valuescale - For java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types
this is the number of digits after the decimal. For all other
types this value will be ignored.
java.sql.SQLException - if a database access error occurs
public void updateObject(java.lang.String columnName,
java.lang.Object x)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetcolumnName - is the SQL name of the columnx - the new column value
java.sql.SQLException - if a database access error occurs
public abstract java.net.URL getURL(int columnIndex)
throws java.sql.SQLException
ResultSet object as a java.net.URL
object in the Java programming language.
getURL in interface java.sql.ResultSetcolumnIndex - the index of the column 1 is the first, 2 is the second,...
java.net.URL object;
if the value is SQL NULL,
the value returned is null in the Java programming language
java.sql.SQLException - if a database access error occurs,
or if a URL is malformed
public java.net.URL getURL(java.lang.String columnName)
throws java.sql.SQLException
ResultSet object as a java.net.URL
object in the Java programming language.
getURL in interface java.sql.ResultSetcolumnName - the SQL name of the column
java.net.URL object;
if the value is SQL NULL,
the value returned is null in the Java programming language
java.sql.SQLException - if a database access error occurs
or if a URL is malformed
|
Oracle10g JDBC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||