public interface XcaConnectionManager
extends java.io.Serializable
XcaConnectionManager
can be used to modify the configuration of a connection, provide pooling or other
behaviour when allocating a new connection.Modifier and Type | Method and Description |
---|---|
FirebirdConnection |
allocateConnection(FBManagedConnectionFactory managedConnectionFactory,
FBConnectionRequestInfo connectionRequestInfo)
Allocates a new
FirebirdConnection backed by a FBManagedConnection from the specified factory. |
FirebirdConnection allocateConnection(FBManagedConnectionFactory managedConnectionFactory, FBConnectionRequestInfo connectionRequestInfo) throws java.sql.SQLException
FirebirdConnection
backed by a FBManagedConnection
from the specified factory.
The returned connection should behave as a new connection, but may be backed by an already established (eg pooled) managed connection.
managedConnectionFactory
- Managed connection factoryconnectionRequestInfo
- Specific connection request infoFirebirdConnection
instancejava.sql.SQLException
- for generic exceptionsCopyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.