- All Superinterfaces:
Serializable
The
XcaConnectionManager
can be used to modify the configuration of a connection, provide pooling or other
behaviour when allocating a new connection.-
Method Summary
Modifier and TypeMethodDescriptionallocateConnection
(FBManagedConnectionFactory managedConnectionFactory, FBConnectionRequestInfo connectionRequestInfo) Allocates a newFirebirdConnection
backed by aFBManagedConnection
from the specified factory.
-
Method Details
-
allocateConnection
FirebirdConnection allocateConnection(FBManagedConnectionFactory managedConnectionFactory, FBConnectionRequestInfo connectionRequestInfo) throws SQLException Allocates a newFirebirdConnection
backed by aFBManagedConnection
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.
- Parameters:
managedConnectionFactory
- Managed connection factoryconnectionRequestInfo
- Specific connection request info- Returns:
- A new
FirebirdConnection
instance - Throws:
SQLException
- for generic exceptions
-