| java.lang.Object org.apache.commons.dbcp.AbandonedTrace org.apache.commons.dbcp.DelegatingConnection org.apache.commons.dbcp.PoolingConnection
Inner Class :class PStmtKey | |
Method Summary | |
public void | activateObject(Object key, Object obj) My
KeyedPoolableObjectFactory method for activating
PreparedStatement s. | public synchronized void | close() Close and free all
PreparedStatement s from my pool, and
close my underlying connection. | protected Object | createKey(String sql, int resultSetType, int resultSetConcurrency) Create a PStmtKey for the given arguments. | protected Object | createKey(String sql) Create a PStmtKey for the given arguments. | public void | destroyObject(Object key, Object obj) My
KeyedPoolableObjectFactory method for destroying
PreparedStatement s. | public Object | makeObject(Object obj) My
KeyedPoolableObjectFactory method for creating
PreparedStatement s. | protected String | normalizeSQL(String sql) Normalize the given SQL statement, producing a
cannonical form that is semantically equivalent to the original. | public void | passivateObject(Object key, Object obj) My
KeyedPoolableObjectFactory method for passivating
PreparedStatement s. | public PreparedStatement | prepareStatement(String sql) Create or obtain a
PreparedStatement from my pool. | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) Create or obtain a
PreparedStatement from my pool. | public String | toString() | public boolean | validateObject(Object key, Object obj) My
KeyedPoolableObjectFactory method for validating
PreparedStatement s. |
activateObject | public void activateObject(Object key, Object obj) throws Exception(Code) | | My
KeyedPoolableObjectFactory method for activating
PreparedStatement s. (Currently a no-op.)
Parameters: key - ignored Parameters: obj - ignored |
createKey | protected Object createKey(String sql, int resultSetType, int resultSetConcurrency)(Code) | | Create a PStmtKey for the given arguments.
|
createKey | protected Object createKey(String sql)(Code) | | Create a PStmtKey for the given arguments.
|
normalizeSQL | protected String normalizeSQL(String sql)(Code) | | Normalize the given SQL statement, producing a
cannonical form that is semantically equivalent to the original.
|
validateObject | public boolean validateObject(Object key, Object obj)(Code) | | My
KeyedPoolableObjectFactory method for validating
PreparedStatement s.
Parameters: key - ignored Parameters: obj - ignored true |
Methods inherited from org.apache.commons.dbcp.DelegatingConnection | protected void activate()(Code)(Java Doc) protected void checkOpen() throws SQLException(Code)(Java Doc) public void clearWarnings() throws SQLException(Code)(Java Doc) public void close() throws SQLException(Code)(Java Doc) public void commit() throws SQLException(Code)(Java Doc) public Statement createStatement() throws SQLException(Code)(Java Doc) public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException(Code)(Java Doc) public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public boolean getAutoCommit() throws SQLException(Code)(Java Doc) public String getCatalog() throws SQLException(Code)(Java Doc) public Connection getDelegate()(Code)(Java Doc) public int getHoldability() throws SQLException(Code)(Java Doc) public Connection getInnermostDelegate()(Code)(Java Doc) public DatabaseMetaData getMetaData() throws SQLException(Code)(Java Doc) public int getTransactionIsolation() throws SQLException(Code)(Java Doc) public Map getTypeMap() throws SQLException(Code)(Java Doc) public SQLWarning getWarnings() throws SQLException(Code)(Java Doc) protected void handleException(SQLException e) throws SQLException(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean innermostDelegateEquals(Connection c)(Code)(Java Doc) public boolean isClosed() throws SQLException(Code)(Java Doc) public boolean isReadOnly() throws SQLException(Code)(Java Doc) public String nativeSQL(String sql) throws SQLException(Code)(Java Doc) protected void passivate() throws SQLException(Code)(Java Doc) public CallableStatement prepareCall(String sql) throws SQLException(Code)(Java Doc) public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException(Code)(Java Doc) public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code)(Java Doc) public PreparedStatement prepareStatement(String sql) throws SQLException(Code)(Java Doc) public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException(Code)(Java Doc) public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code)(Java Doc) public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException(Code)(Java Doc) public PreparedStatement prepareStatement(String sql, int columnIndexes) throws SQLException(Code)(Java Doc) public PreparedStatement prepareStatement(String sql, String columnNames) throws SQLException(Code)(Java Doc) public void releaseSavepoint(java.sql.Savepoint savepoint) throws SQLException(Code)(Java Doc) public void rollback() throws SQLException(Code)(Java Doc) public void rollback(java.sql.Savepoint savepoint) throws SQLException(Code)(Java Doc) public void setAutoCommit(boolean autoCommit) throws SQLException(Code)(Java Doc) public void setCatalog(String catalog) throws SQLException(Code)(Java Doc) public void setDelegate(Connection c)(Code)(Java Doc) public void setHoldability(int holdability) throws SQLException(Code)(Java Doc) public void setReadOnly(boolean readOnly) throws SQLException(Code)(Java Doc) public java.sql.Savepoint setSavepoint() throws SQLException(Code)(Java Doc) public java.sql.Savepoint setSavepoint(String name) throws SQLException(Code)(Java Doc) public void setTransactionIsolation(int level) throws SQLException(Code)(Java Doc) public void setTypeMap(Map map) throws SQLException(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|