|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jcreme.sql.WrappedResultSet
This class enables to wrap an actual ResultSet to provide a few extra services: tracing of the queries, handling of some exceptions (rollback, loss of connection).
Field Summary | |
protected static java.lang.String |
UNKNOWN_QUERY
The String displayed when no query has been assigned to the ResultSet yet. |
Fields inherited from interface java.sql.ResultSet |
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
Constructor Summary | |
WrappedResultSet(java.sql.ResultSet rs,
java.sql.Statement stmt,
java.lang.String sql)
Enables to wrap a ResultSet. |
Method Summary | |
boolean |
absolute(int row)
|
void |
afterLast()
|
void |
beforeFirst()
|
void |
cancelRowUpdates()
|
void |
clearWarnings()
|
void |
close()
|
void |
deleteRow()
|
int |
findColumn(java.lang.String columnName)
|
boolean |
first()
|
protected ConnectionLostException |
generateConnectionLostException(java.lang.String message,
java.sql.SQLException e)
This method generates a ConnectionLostException from an SQLException. |
protected DeadLockException |
generateDeadLockException(java.lang.String message,
java.sql.SQLException e)
This method generates a DeadLockException from an SQLException. |
protected java.sql.SQLException |
generateException(java.sql.SQLException e)
This method enables to generate an SQLException that contains the query of the ResultSet in its message. |
protected java.sql.SQLException |
generateNewException(java.lang.String message,
java.sql.SQLException e)
This method generates a new SQLException from an SQLException. |
java.sql.Array |
getArray(int i)
|
java.sql.Array |
getArray(java.lang.String colName)
|
java.io.InputStream |
getAsciiStream(int columnIndex)
|
java.io.InputStream |
getAsciiStream(java.lang.String columnName)
|
java.math.BigDecimal |
getBigDecimal(int columnIndex)
|
java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale)
Deprecated. |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName)
|
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale)
Deprecated. |
java.io.InputStream |
getBinaryStream(int columnIndex)
|
java.io.InputStream |
getBinaryStream(java.lang.String columnName)
|
java.sql.Blob |
getBlob(int i)
|
java.sql.Blob |
getBlob(java.lang.String colName)
|
boolean |
getBoolean(int columnIndex)
|
boolean |
getBoolean(java.lang.String columnName)
|
byte |
getByte(int columnIndex)
|
byte |
getByte(java.lang.String columnName)
|
byte[] |
getBytes(int columnIndex)
|
byte[] |
getBytes(java.lang.String columnName)
|
java.io.Reader |
getCharacterStream(int columnIndex)
|
java.io.Reader |
getCharacterStream(java.lang.String columnName)
|
java.sql.Clob |
getClob(int i)
|
java.sql.Clob |
getClob(java.lang.String colName)
|
int |
getConcurrency()
|
java.lang.String |
getCursorName()
|
java.sql.Date |
getDate(int columnIndex)
|
java.sql.Date |
getDate(int columnIndex,
java.util.Calendar cal)
|
java.sql.Date |
getDate(java.lang.String columnName)
|
java.sql.Date |
getDate(java.lang.String columnName,
java.util.Calendar cal)
|
double |
getDouble(int columnIndex)
|
double |
getDouble(java.lang.String columnName)
|
int |
getFetchDirection()
|
int |
getFetchSize()
|
float |
getFloat(int columnIndex)
|
float |
getFloat(java.lang.String columnName)
|
int |
getInt(int columnIndex)
|
int |
getInt(java.lang.String columnName)
|
long |
getLong(int columnIndex)
|
long |
getLong(java.lang.String columnName)
|
java.sql.ResultSetMetaData |
getMetaData()
|
java.lang.Object |
getObject(int columnIndex)
|
java.lang.Object |
getObject(int i,
java.util.Map map)
|
java.lang.Object |
getObject(java.lang.String columnName)
|
java.lang.Object |
getObject(java.lang.String colName,
java.util.Map map)
|
java.sql.Ref |
getRef(int i)
|
java.sql.Ref |
getRef(java.lang.String colName)
|
int |
getRow()
|
short |
getShort(int columnIndex)
|
short |
getShort(java.lang.String columnName)
|
java.sql.Statement |
getStatement()
|
java.lang.String |
getString(int columnIndex)
|
java.lang.String |
getString(java.lang.String columnName)
|
java.sql.Time |
getTime(int columnIndex)
|
java.sql.Time |
getTime(int columnIndex,
java.util.Calendar cal)
|
java.sql.Time |
getTime(java.lang.String columnName)
|
java.sql.Time |
getTime(java.lang.String columnName,
java.util.Calendar cal)
|
java.sql.Timestamp |
getTimestamp(int columnIndex)
|
java.sql.Timestamp |
getTimestamp(int columnIndex,
java.util.Calendar cal)
|
java.sql.Timestamp |
getTimestamp(java.lang.String columnName)
|
java.sql.Timestamp |
getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
|
int |
getType()
|
java.io.InputStream |
getUnicodeStream(int columnIndex)
Deprecated. |
java.io.InputStream |
getUnicodeStream(java.lang.String columnName)
Deprecated. use getCharacterStream instead |
java.net.URL |
getURL(int columnIndex)
|
java.net.URL |
getURL(java.lang.String columnName)
|
java.sql.SQLWarning |
getWarnings()
|
void |
insertRow()
|
boolean |
isAfterLast()
|
boolean |
isBeforeFirst()
|
boolean |
isFirst()
|
boolean |
isLast()
|
boolean |
last()
|
protected int |
manageException(java.sql.SQLException e)
This method enables to call upon an ExceptionHandler to manage the given exception. |
protected int |
manageException(java.sql.SQLException e,
CremeAction redo)
This method enables to call upon an ExceptionHandler to manage the given exception. |
void |
moveToCurrentRow()
|
void |
moveToInsertRow()
|
boolean |
next()
|
boolean |
previous()
|
void |
refreshRow()
|
boolean |
relative(int rows)
|
boolean |
rowDeleted()
|
boolean |
rowInserted()
|
boolean |
rowUpdated()
|
void |
setFetchDirection(int direction)
|
void |
setFetchSize(int rows)
|
void |
updateArray(int columnIndex,
java.sql.Array x)
|
void |
updateArray(java.lang.String columnName,
java.sql.Array x)
|
void |
updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length)
|
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length)
|
void |
updateBigDecimal(int columnIndex,
java.math.BigDecimal x)
|
void |
updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
|
void |
updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length)
|
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length)
|
void |
updateBlob(int columnIndex,
java.sql.Blob x)
|
void |
updateBlob(java.lang.String columnName,
java.sql.Blob x)
|
void |
updateBoolean(int columnIndex,
boolean x)
|
void |
updateBoolean(java.lang.String columnName,
boolean x)
|
void |
updateByte(int columnIndex,
byte x)
|
void |
updateByte(java.lang.String columnName,
byte x)
|
void |
updateBytes(int columnIndex,
byte[] x)
|
void |
updateBytes(java.lang.String columnName,
byte[] x)
|
void |
updateCharacterStream(int columnIndex,
java.io.Reader x,
int length)
|
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
|
void |
updateClob(int columnIndex,
java.sql.Clob x)
|
void |
updateClob(java.lang.String columnName,
java.sql.Clob x)
|
void |
updateDate(int columnIndex,
java.sql.Date x)
|
void |
updateDate(java.lang.String columnName,
java.sql.Date x)
|
void |
updateDouble(int columnIndex,
double x)
|
void |
updateDouble(java.lang.String columnName,
double x)
|
void |
updateFloat(int columnIndex,
float x)
|
void |
updateFloat(java.lang.String columnName,
float x)
|
void |
updateInt(int columnIndex,
int x)
|
void |
updateInt(java.lang.String columnName,
int x)
|
void |
updateLong(int columnIndex,
long x)
|
void |
updateLong(java.lang.String columnName,
long x)
|
void |
updateNull(int columnIndex)
|
void |
updateNull(java.lang.String columnName)
|
void |
updateObject(int columnIndex,
java.lang.Object x)
|
void |
updateObject(int columnIndex,
java.lang.Object x,
int scale)
|
void |
updateObject(java.lang.String columnName,
java.lang.Object x)
|
void |
updateObject(java.lang.String columnName,
java.lang.Object x,
int scale)
|
void |
updateRef(int columnIndex,
java.sql.Ref x)
|
void |
updateRef(java.lang.String columnName,
java.sql.Ref x)
|
void |
updateRow()
|
void |
updateShort(int columnIndex,
short x)
|
void |
updateShort(java.lang.String columnName,
short x)
|
void |
updateString(int columnIndex,
java.lang.String x)
|
void |
updateString(java.lang.String columnName,
java.lang.String x)
|
void |
updateTime(int columnIndex,
java.sql.Time x)
|
void |
updateTime(java.lang.String columnName,
java.sql.Time x)
|
void |
updateTimestamp(int columnIndex,
java.sql.Timestamp x)
|
void |
updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x)
|
boolean |
wasNull()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String UNKNOWN_QUERY
Constructor Detail |
public WrappedResultSet(java.sql.ResultSet rs, java.sql.Statement stmt, java.lang.String sql) throws java.sql.SQLException
rs
- the ResultSet to wrap.stmt
- the Statement that produced this ResultSet.sql
- the query that produced this ResultSet.
java.sql.SQLException
- if the statement is null.Method Detail |
protected java.sql.SQLException generateException(java.sql.SQLException e)
e
- the original exception.
protected DeadLockException generateDeadLockException(java.lang.String message, java.sql.SQLException e)
message
- the message to append.e
- the original exception.
protected ConnectionLostException generateConnectionLostException(java.lang.String message, java.sql.SQLException e)
message
- the message to append.e
- the original exception.
protected java.sql.SQLException generateNewException(java.lang.String message, java.sql.SQLException e)
message
- the message to append.e
- the original exception.
protected int manageException(java.sql.SQLException e)
e
- exception to handle.
protected int manageException(java.sql.SQLException e, CremeAction redo)
e
- exception to handle.redo
- the action that caused the original exception.
public int getInt(int columnIndex) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getInt(int)
public java.sql.Ref getRef(int i) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getRef(int)
public java.sql.Date getDate(int columnIndex) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getDate(int)
public int getFetchSize() throws java.sql.SQLException
getFetchSize
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getFetchSize()
public byte getByte(int columnIndex) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getByte(int)
public java.math.BigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBigDecimal(int)
public short getShort(int columnIndex) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getShort(int)
public void updateObject(int columnIndex, java.lang.Object x, int scale) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateObject(int, java.lang.Object, int)
public void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateAsciiStream(java.lang.String, java.io.InputStream,
int)
public java.sql.Date getDate(java.lang.String columnName) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getDate(java.lang.String)
public java.lang.Object getObject(java.lang.String colName, java.util.Map map) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getObject(java.lang.String, java.util.Map)
public void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateBigDecimal(java.lang.String, java.math.BigDecimal)
public java.sql.Time getTime(int columnIndex) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getTime(int)
public java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBigDecimal(int, int)
public double getDouble(java.lang.String columnName) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getDouble(java.lang.String)
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
getMetaData
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getMetaData()
public void updateObject(java.lang.String columnName, java.lang.Object x) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateObject(java.lang.String, java.lang.Object)
public boolean first() throws java.sql.SQLException
first
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.first()
public java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getTimestamp(int, java.util.Calendar)
public java.io.InputStream getAsciiStream(java.lang.String columnName) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getAsciiStream(java.lang.String)
public java.io.InputStream getBinaryStream(java.lang.String columnName) throws java.sql.SQLException
getBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBinaryStream(java.lang.String)
public java.sql.Statement getStatement()
getStatement
in interface java.sql.ResultSet
ResultSet.getStatement()
public float getFloat(int columnIndex) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getFloat(int)
public java.io.Reader getCharacterStream(java.lang.String columnName) throws java.sql.SQLException
getCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getCharacterStream(java.lang.String)
public int getInt(java.lang.String columnName) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getInt(java.lang.String)
public void updateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateBinaryStream(java.lang.String, java.io.InputStream,
int)
public void updateFloat(int columnIndex, float x) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateFloat(int, float)
public void clearWarnings() throws java.sql.SQLException
clearWarnings
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.clearWarnings()
public java.io.Reader getCharacterStream(int columnIndex) throws java.sql.SQLException
getCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getCharacterStream(int)
public boolean isFirst() throws java.sql.SQLException
isFirst
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.isFirst()
public void updateShort(int columnIndex, short x) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateShort(int, short)
public void updateBigDecimal(int columnIndex, java.math.BigDecimal x) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateBigDecimal(int, java.math.BigDecimal)
public void cancelRowUpdates() throws java.sql.SQLException
cancelRowUpdates
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.cancelRowUpdates()
public void updateBinaryStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateBinaryStream(int, java.io.InputStream, int)
public int findColumn(java.lang.String columnName) throws java.sql.SQLException
findColumn
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.findColumn(java.lang.String)
public java.sql.Time getTime(java.lang.String columnName) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getTime(java.lang.String)
public java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLException
getUnicodeStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getUnicodeStream(int)
public java.lang.String getString(java.lang.String columnName) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getString(java.lang.String)
public byte[] getBytes(java.lang.String columnName) throws java.sql.SQLException
getBytes
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBytes(java.lang.String)
public void beforeFirst() throws java.sql.SQLException
beforeFirst
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.beforeFirst()
public void updateString(int columnIndex, java.lang.String x) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateString(int, java.lang.String)
public void updateByte(java.lang.String columnName, byte x) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateByte(java.lang.String, byte)
public java.lang.String getCursorName() throws java.sql.SQLException
getCursorName
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getCursorName()
public boolean rowDeleted() throws java.sql.SQLException
rowDeleted
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.rowDeleted()
public int getFetchDirection() throws java.sql.SQLException
getFetchDirection
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getFetchDirection()
public void updateInt(int columnIndex, int x) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateInt(int, int)
public long getLong(int columnIndex) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getLong(int)
public void updateBoolean(java.lang.String columnName, boolean x) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateBoolean(java.lang.String, boolean)
public void updateTime(java.lang.String columnName, java.sql.Time x) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateTime(java.lang.String, java.sql.Time)
public boolean getBoolean(int columnIndex) throws java.sql.SQLException
getBoolean
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBoolean(int)
public void afterLast() throws java.sql.SQLException
afterLast
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.afterLast()
public java.sql.Date getDate(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getDate(int, java.util.Calendar)
public boolean last() throws java.sql.SQLException
last
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.last()
public int getType() throws java.sql.SQLException
getType
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getType()
public java.sql.Array getArray(java.lang.String colName) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getArray(java.lang.String)
public void close() throws java.sql.SQLException
close
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.close()
public int getRow() throws java.sql.SQLException
getRow
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getRow()
public void deleteRow() throws java.sql.SQLException
deleteRow
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.deleteRow()
public void updateLong(int columnIndex, long x) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateLong(int, long)
public long getLong(java.lang.String columnName) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getLong(java.lang.String)
public void updateInt(java.lang.String columnName, int x) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateInt(java.lang.String, int)
public void updateBytes(int columnIndex, byte[] x) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateBytes(int, byte[])
public java.sql.Timestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getTimestamp(java.lang.String)
public java.sql.Ref getRef(java.lang.String colName) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getRef(java.lang.String)
public java.sql.Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getTimestamp(int)
public java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBigDecimal(java.lang.String, int)
public void updateDouble(java.lang.String columnName, double x) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateDouble(java.lang.String, double)
public boolean rowUpdated() throws java.sql.SQLException
rowUpdated
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.rowUpdated()
public java.sql.Blob getBlob(java.lang.String colName) throws java.sql.SQLException
getBlob
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBlob(java.lang.String)
public java.lang.Object getObject(int i, java.util.Map map) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getObject(int, java.util.Map)
public java.lang.Object getObject(int columnIndex) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getObject(int)
public boolean getBoolean(java.lang.String columnName) throws java.sql.SQLException
getBoolean
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBoolean(java.lang.String)
public void updateObject(java.lang.String columnName, java.lang.Object x, int scale) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateObject(java.lang.String, java.lang.Object,int)
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
getWarnings
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getWarnings()
public boolean relative(int rows) throws java.sql.SQLException
relative
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.relative(int)
public byte[] getBytes(int columnIndex) throws java.sql.SQLException
getBytes
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBytes(int)
public java.math.BigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBigDecimal(java.lang.String)
public void updateObject(int columnIndex, java.lang.Object x) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateObject(int, java.lang.Object)
public void updateNull(java.lang.String columnName) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateNull(java.lang.String)
public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateTimestamp(int, java.sql.Timestamp)
public void setFetchSize(int rows) throws java.sql.SQLException
setFetchSize
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.setFetchSize(int)
public void updateDate(int columnIndex, java.sql.Date x) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateDate(int, java.sql.Date)
public java.sql.Clob getClob(int i) throws java.sql.SQLException
getClob
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getClob(int)
public void updateNull(int columnIndex) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateNull(int)
public java.sql.Clob getClob(java.lang.String colName) throws java.sql.SQLException
getClob
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getClob(java.lang.String)
public void updateAsciiStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateAsciiStream(int, java.io.InputStream, int)
public java.lang.Object getObject(java.lang.String columnName) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getObject(java.lang.String)
public boolean isLast() throws java.sql.SQLException
isLast
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.isLast()
public float getFloat(java.lang.String columnName) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getFloat(java.lang.String)
public boolean isBeforeFirst() throws java.sql.SQLException
isBeforeFirst
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.isBeforeFirst()
public void updateLong(java.lang.String columnName, long x) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateLong(java.lang.String, long)
public void updateBoolean(int columnIndex, boolean x) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateBoolean(int, boolean)
public java.sql.Date getDate(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getDate(java.lang.String, java.util.Calendar)
public int getConcurrency() throws java.sql.SQLException
getConcurrency
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getConcurrency()
public java.sql.Time getTime(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getTime(int, java.util.Calendar)
public void updateBytes(java.lang.String columnName, byte[] x) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateBytes(java.lang.String, byte[])
public java.sql.Blob getBlob(int i) throws java.sql.SQLException
getBlob
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBlob(int)
public double getDouble(int columnIndex) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getDouble(int)
public void updateShort(java.lang.String columnName, short x) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateShort(java.lang.String, short)
public java.io.InputStream getAsciiStream(int columnIndex) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getAsciiStream(int)
public void setFetchDirection(int direction) throws java.sql.SQLException
setFetchDirection
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.setFetchDirection(int)
public void moveToCurrentRow() throws java.sql.SQLException
moveToCurrentRow
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.moveToCurrentRow()
public void updateTime(int columnIndex, java.sql.Time x) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateTime(int, java.sql.Time)
public void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateCharacterStream(int, java.io.Reader, int)
public java.io.InputStream getUnicodeStream(java.lang.String columnName) throws java.sql.SQLException
getCharacterStream
instead
getUnicodeStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getUnicodeStream(java.lang.String)
public void updateRow() throws java.sql.SQLException
updateRow
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateRow()
public void updateCharacterStream(java.lang.String columnName, java.io.Reader reader, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateCharacterStream(java.lang.String, java.io.Reader,
int)
public byte getByte(java.lang.String columnName) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getByte(java.lang.String)
public void updateString(java.lang.String columnName, java.lang.String x) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateString(java.lang.String, java.lang.String)
public boolean rowInserted() throws java.sql.SQLException
rowInserted
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.rowInserted()
public void updateFloat(java.lang.String columnName, float x) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateFloat(java.lang.String, float)
public void insertRow() throws java.sql.SQLException
insertRow
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.insertRow()
public java.io.InputStream getBinaryStream(int columnIndex) throws java.sql.SQLException
getBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getBinaryStream(int)
public void updateDouble(int columnIndex, double x) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateDouble(int, double)
public void moveToInsertRow() throws java.sql.SQLException
moveToInsertRow
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.moveToInsertRow()
public boolean next() throws java.sql.SQLException
next
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.next()
public java.sql.Timestamp getTimestamp(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getTimestamp(java.lang.String, java.util.Calendar)
public short getShort(java.lang.String columnName) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getShort(java.lang.String)
public java.sql.Time getTime(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getTime(java.lang.String, java.util.Calendar)
public boolean absolute(int row) throws java.sql.SQLException
absolute
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.absolute(int)
public void updateDate(java.lang.String columnName, java.sql.Date x) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateDate(java.lang.String, java.sql.Date)
public boolean wasNull() throws java.sql.SQLException
wasNull
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.wasNull()
public boolean previous() throws java.sql.SQLException
previous
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.previous()
public java.sql.Array getArray(int i) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getArray(int)
public void refreshRow() throws java.sql.SQLException
refreshRow
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.refreshRow()
public void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateTimestamp(java.lang.String, java.sql.Timestamp)
public void updateByte(int columnIndex, byte x) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateByte(int, byte)
public boolean isAfterLast() throws java.sql.SQLException
isAfterLast
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.isAfterLast()
public java.lang.String getString(int columnIndex) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getString(int)
public java.net.URL getURL(int columnIndex) throws java.sql.SQLException
getURL
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getURL(int)
public java.net.URL getURL(java.lang.String columnName) throws java.sql.SQLException
getURL
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.getURL(java.lang.String)
public void updateRef(int columnIndex, java.sql.Ref x) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateRef(int, java.sql.Ref)
public void updateRef(java.lang.String columnName, java.sql.Ref x) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateRef(java.lang.String, java.sql.Ref)
public void updateBlob(int columnIndex, java.sql.Blob x) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateBlob(int, java.sql.Blob)
public void updateBlob(java.lang.String columnName, java.sql.Blob x) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateBlob(java.lang.String, java.sql.Blob)
public void updateClob(int columnIndex, java.sql.Clob x) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateClob(int, java.sql.Clob)
public void updateClob(java.lang.String columnName, java.sql.Clob x) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateClob(java.lang.String, java.sql.Clob)
public void updateArray(int columnIndex, java.sql.Array x) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateArray(int, java.sql.Array)
public void updateArray(java.lang.String columnName, java.sql.Array x) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
java.sql.SQLException
ResultSet.updateArray(java.lang.String, java.sql.Array)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |