org.firebirdsql.pool
Interface PooledConnectionManager
- All Known Implementing Classes:
- AbstractFBConnectionPoolDataSource
- public interface PooledConnectionManager
Manager of pooled connections. Class implementing this interface allocates
* physical connections to the database.
*
* @author Roman Rokytskyy
allocateConnection
public PooledObject allocateConnection(java.lang.Object key)
throws java.sql.SQLException
- Allocate pooled connection using specified user name and password.
*
* @param userName user name that will be used to access database.
* @param password password corresponding to the specified user name.
*
* @return instance of
PooledConnection
.
*
* @throws SQLException if something went wrong.
- Throws:
java.sql.SQLException
Copyright © 2001 David Jencks and other authors. All rights reserved.