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.
$Revision: 479137 $ $Date: 2006-11-25 08:51:48 -0700 (Sat, 25 Nov 2006) $- 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, innermostDelegateEquals, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setDelegate, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, toString |
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-2004 Apache Software Foundation. Documenation generated June 19 2007.