- 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 newFirebirdConnectionbacked by aFBManagedConnectionfrom the specified factory.
-
Method Details
-
allocateConnection
FirebirdConnection allocateConnection(FBManagedConnectionFactory managedConnectionFactory, FBConnectionRequestInfo connectionRequestInfo) throws SQLException Allocates a newFirebirdConnectionbacked by aFBManagedConnectionfrom 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
FirebirdConnectioninstance - Throws:
SQLException- for generic exceptions
-