public interface ConnectionFactory
ConnectionManagerIF
implementation.ConnectionFactoryPooledImpl
,
ConnectionFactoryNotPooledImpl
,
ConnectionFactoryDBCPImpl
,
ConnectionFactoryManagedImpl
Modifier and Type | Method and Description |
---|---|
java.sql.Connection |
lookupConnection(JdbcConnectionDescriptor jcd)
Lookup a connection from the connection factory implementation.
|
void |
releaseAllResources()
Release all resources
used by the implementing class (e.g.
|
void |
releaseConnection(JdbcConnectionDescriptor jcd,
java.sql.Connection con)
Release connection - CAUTION: Release every connection after use to avoid abandoned connections.
|
java.sql.Connection lookupConnection(JdbcConnectionDescriptor jcd) throws LookupException
LookupException
void releaseConnection(JdbcConnectionDescriptor jcd, java.sql.Connection con)
void releaseAllResources()
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30