org.apache.avalon.excalibur.datasource
Class JdbcConnection
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.excalibur.datasource.AbstractJdbcConnection
org.apache.avalon.excalibur.datasource.JdbcConnection
- All Implemented Interfaces:
- InvocationHandler, PoolSettable, ProxiedJdbcConnection, Poolable, Recyclable, Disposable, LogEnabled
Deprecated. No longer necessary due to the dynamic proxies
public class JdbcConnection
- extends AbstractJdbcConnection
The Connection object used in conjunction with the JdbcDataSource
object.
- Since:
- 4.0
- Version:
- CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:14 $
- Author:
- Avalon Development Team
Methods inherited from class org.apache.avalon.excalibur.datasource.AbstractJdbcConnection |
clearAllocatedStatements, close, dispose, enableLogging, equals, getConnection, initialize, invoke, isClosed, recycle, registerAllocatedStatement, setPool, setProxiedConnection |
JdbcConnection
public JdbcConnection(Connection connection,
String keepAlive)
- Deprecated.
- Parameters:
connection
- a driver specific JDBC connection to be wrapped.keepAlive
- a query which will be used to check the statis of the connection after it
has been idle. A null value will cause the keep alive feature to
be disabled.
JdbcConnection
public JdbcConnection(Connection connection,
String keepAlive,
int keepAliveAge)
- Deprecated.
- Parameters:
connection
- a driver specific JDBC connection to be wrapped.keepAlive
- a query which will be used to check the statis of the connection after it
has been idle. A null value will cause the keep alive feature to
be disabled.keepAliveAge
- the maximum age in milliseconds since a connection was last
used before it must be pinged using the keepAlive query. Ignored
if keepAlive is null.
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.