| java.lang.Object org.ofbiz.minerva.pool.jdbc.StatementInPool
All known Subclasses: org.ofbiz.minerva.pool.jdbc.PreparedStatementInPool,
StatementInPool | public class StatementInPool implements Statement(Code) | | Wraps a Statement to track errors and the last used time for the owning
connection. That time is updated every time a SQL action is performed
(executeQuery, executeUpdate, etc.).
author: Aaron Mulder (ammulder@alumni.princeton.edu) |
clearFields | protected void clearFields()(Code) | | |
getUnderlyingStatement | public Statement getUnderlyingStatement()(Code) | | Gets a reference to the "real" Statement. 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 Statement
directly.
|
setError | public void setError(SQLException e)(Code) | | Indicates that an error occured on the owning connection.
|
setEscapeProcessing | public void setEscapeProcessing(boolean arg0) throws SQLException(Code) | | |
setLastUsed | public void setLastUsed()(Code) | | Updates the last used time for the owning connection to the current time.
|
|
|