org.apache.commons.dbcp
Class PoolableConnection
- Connection
public class PoolableConnection
A delegating connection that, rather than closing the underlying
connection, returns itself to an ObjectPool when
closed.
Version:
- Rodney Waldhoff
- Glenn L. Nielsen
- James House
void | close()- Returns me to my pool.
|
void | reallyClose()- Actually close my underlying
Connection.
|
clearWarnings, close, commit, createStatement, createStatement, createStatement, equals, getAutoCommit, getCatalog, getDelegate, getHoldability, getInnermostDelegate, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, hashCode, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setDelegate, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap |
PoolableConnection
public PoolableConnection(Connection conn,
ObjectPool pool)conn - my underlying connectionpool - the pool to which I should return when closed
PoolableConnection
public PoolableConnection(Connection conn,
ObjectPool pool,
AbandonedConfig config)AbandonedConfig is now deprecated.
conn - my underlying connectionpool - the pool to which I should return when closedconfig - the abandoned configuration settings
reallyClose
public void reallyClose()
throws SQLException Actually close my underlying Connection.
Copyright © 2001-2003 Apache Software Foundation. Documenation generated February 28 2005.