public class FBXAConnection extends FBPooledConnection implements javax.sql.XAConnection
FBXADataSource
connection, handler
Constructor and Description |
---|
FBXAConnection(AbstractConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected org.firebirdsql.ds.PooledConnectionHandler |
createConnectionHandler()
Creates the PooledConnectionHandler for the connection.
|
javax.transaction.xa.XAResource |
getXAResource() |
protected boolean |
inDistributedTransaction() |
protected void |
resetConnection() |
addStatementEventListener, removeStatementEventListener
addConnectionEventListener, close, fireConnectionClosed, fireConnectionError, fireFatalConnectionError, getConnection, releaseConnectionHandler, removeConnectionEventListener
public FBXAConnection(AbstractConnection connection)
public javax.transaction.xa.XAResource getXAResource() throws java.sql.SQLException
getXAResource
in interface javax.sql.XAConnection
java.sql.SQLException
protected void resetConnection() throws java.sql.SQLException
resetConnection
in class AbstractPooledConnection
java.sql.SQLException
protected org.firebirdsql.ds.PooledConnectionHandler createConnectionHandler()
AbstractPooledConnection
Subclasses may override this method to return their own subclass of PooledConnectionHandler.
createConnectionHandler
in class AbstractPooledConnection
protected boolean inDistributedTransaction() throws java.sql.SQLException
java.sql.SQLException
Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.