| java.lang.Object org.ofbiz.minerva.pool.jdbc.ResultSetInPool
ResultSetInPool | public class ResultSetInPool implements ResultSet(Code) | | Wraps a result set to track the last used time for the owning connection.
That time is updated every time a navigation action is performed on the
result set (next, previous, etc.).
author: Aaron Mulder (ammulder@alumni.princeton.edu) |
Method Summary | |
public boolean | absolute(int arg0) | public void | afterLast() | public void | beforeFirst() | public void | cancelRowUpdates() | public void | clearWarnings() | public void | close() | public void | deleteRow() | public int | findColumn(String arg0) | public boolean | first() | public Array | getArray(int arg0) | public Array | getArray(String arg0) | public java.io.InputStream | getAsciiStream(int arg0) | public java.io.InputStream | getAsciiStream(String arg0) | public java.math.BigDecimal | getBigDecimal(int arg0) | public java.math.BigDecimal | getBigDecimal(int arg0, int arg1) | public java.math.BigDecimal | getBigDecimal(String arg0) | public java.math.BigDecimal | getBigDecimal(String arg0, int arg1) | public java.io.InputStream | getBinaryStream(int arg0) | public java.io.InputStream | getBinaryStream(String arg0) | public Blob | getBlob(int arg0) | public Blob | getBlob(String arg0) | public boolean | getBoolean(int arg0) | public boolean | getBoolean(String arg0) | public byte | getByte(int arg0) | public byte | getByte(String arg0) | public byte[] | getBytes(int arg0) | public byte[] | getBytes(String arg0) | public java.io.Reader | getCharacterStream(int arg0) | public java.io.Reader | getCharacterStream(String arg0) | public Clob | getClob(int arg0) | public Clob | getClob(String arg0) | public int | getConcurrency() | public String | getCursorName() | public Date | getDate(int arg0) | public Date | getDate(int arg0, java.util.Calendar arg1) | public Date | getDate(String arg0) | public Date | getDate(String arg0, java.util.Calendar arg1) | public double | getDouble(int arg0) | public double | getDouble(String arg0) | public int | getFetchDirection() | public int | getFetchSize() | public float | getFloat(int arg0) | public float | getFloat(String arg0) | public int | getInt(int arg0) | public int | getInt(String arg0) | public long | getLong(int arg0) | public long | getLong(String arg0) | public ResultSetMetaData | getMetaData() | public Object | getObject(int arg0) | public Object | getObject(int arg0, java.util.Map arg1) | public Object | getObject(String arg0) | public Object | getObject(String arg0, java.util.Map arg1) | public Ref | getRef(int arg0) | public Ref | getRef(String arg0) | public int | getRow() | public short | getShort(int arg0) | public short | getShort(String arg0) | public Statement | getStatement() | public String | getString(int arg0) | public String | getString(String arg0) | public Time | getTime(int arg0) | public Time | getTime(int arg0, java.util.Calendar arg1) | public Time | getTime(String arg0) | public Time | getTime(String arg0, java.util.Calendar arg1) | public Timestamp | getTimestamp(int arg0) | public Timestamp | getTimestamp(int arg0, java.util.Calendar arg1) | public Timestamp | getTimestamp(String arg0) | public Timestamp | getTimestamp(String arg0, java.util.Calendar arg1) | public int | getType() | public URL | getURL(int arg0) | public URL | getURL(String arg0) | public ResultSet | getUnderlyingResultSet() Gets a reference to the "real" ResultSet. | public java.io.InputStream | getUnicodeStream(int arg0) | public java.io.InputStream | getUnicodeStream(String arg0) | public SQLWarning | getWarnings() | public void | insertRow() | public boolean | isAfterLast() | public boolean | isBeforeFirst() | public boolean | isFirst() | public boolean | isLast() | public boolean | last() | public void | moveToCurrentRow() | public void | moveToInsertRow() | public boolean | next() | public boolean | previous() | public void | refreshRow() | public boolean | relative(int arg0) | public boolean | rowDeleted() | public boolean | rowInserted() | public boolean | rowUpdated() | public void | setError(SQLException e) Indicates that an error occured on the owning statement. | public void | setFetchDirection(int arg0) | public void | setFetchSize(int arg0) | public void | setLastUsed() Updates the last used time for the owning connection to the current time. | public void | updateArray(int arg0, Array arg1) | public void | updateArray(String arg0, Array arg1) | public void | updateAsciiStream(int arg0, java.io.InputStream arg1, int arg2) | public void | updateAsciiStream(String arg0, java.io.InputStream arg1, int arg2) | public void | updateBigDecimal(int arg0, java.math.BigDecimal arg1) | public void | updateBigDecimal(String arg0, java.math.BigDecimal arg1) | public void | updateBinaryStream(int arg0, java.io.InputStream arg1, int arg2) | public void | updateBinaryStream(String arg0, java.io.InputStream arg1, int arg2) | public void | updateBlob(int arg0, Blob arg1) | public void | updateBlob(String arg0, Blob arg1) | public void | updateBoolean(int arg0, boolean arg1) | public void | updateBoolean(String arg0, boolean arg1) | public void | updateByte(int arg0, byte arg1) | public void | updateByte(String arg0, byte arg1) | public void | updateBytes(int arg0, byte[] arg1) | public void | updateBytes(String arg0, byte[] arg1) | public void | updateCharacterStream(int arg0, java.io.Reader arg1, int arg2) | public void | updateCharacterStream(String arg0, java.io.Reader arg1, int arg2) | public void | updateClob(int arg0, Clob arg1) | public void | updateClob(String arg0, Clob arg1) | public void | updateDate(int arg0, Date arg1) | public void | updateDate(String arg0, Date arg1) | public void | updateDouble(int arg0, double arg1) | public void | updateDouble(String arg0, double arg1) | public void | updateFloat(int arg0, float arg1) | public void | updateFloat(String arg0, float arg1) | public void | updateInt(int arg0, int arg1) | public void | updateInt(String arg0, int arg1) | public void | updateLong(int arg0, long arg1) | public void | updateLong(String arg0, long arg1) | public void | updateNull(int arg0) | public void | updateNull(String arg0) | public void | updateObject(int arg0, Object arg1) | public void | updateObject(int arg0, Object arg1, int arg2) | public void | updateObject(String arg0, Object arg1) | public void | updateObject(String arg0, Object arg1, int arg2) | public void | updateRef(int arg0, Ref arg1) | public void | updateRef(String arg0, Ref arg1) | public void | updateRow() | public void | updateShort(int arg0, short arg1) | public void | updateShort(String arg0, short arg1) | public void | updateString(int arg0, String arg1) | public void | updateString(String arg0, String arg1) | public void | updateTime(int arg0, Time arg1) | public void | updateTime(String arg0, Time arg1) | public void | updateTimestamp(int arg0, Timestamp arg1) | public void | updateTimestamp(String arg0, Timestamp arg1) | public boolean | wasNull() |
getUnderlyingResultSet | public ResultSet getUnderlyingResultSet()(Code) | | Gets a reference to the "real" ResultSet. This should only be used if
you need to cast that to a specific type to call a proprietary method -
you will defeat all the pooling if you use the underlying ResultSet
directly.
|
setError | public void setError(SQLException e)(Code) | | Indicates that an error occured on the owning statement.
|
setLastUsed | public void setLastUsed()(Code) | | Updates the last used time for the owning connection to the current time.
|
|
|