org.firebirdsql.ds
Class FBXAConnection
java.lang.Object
org.firebirdsql.ds.AbstractPooledConnection
org.firebirdsql.ds.FBPooledConnection
org.firebirdsql.ds.FBXAConnection
- All Implemented Interfaces:
- javax.sql.PooledConnection, javax.sql.XAConnection
public class FBXAConnection
- extends FBPooledConnection
- implements javax.sql.XAConnection
XAConnection implementation for FBXADataSource
- Since:
- 2.2
- Author:
- Mark Rotteveel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sql.PooledConnection |
addConnectionEventListener, addStatementEventListener, close, getConnection, removeConnectionEventListener, removeStatementEventListener |
FBXAConnection
public FBXAConnection(AbstractConnection connection)
getXAResource
public javax.transaction.xa.XAResource getXAResource()
throws java.sql.SQLException
- Specified by:
getXAResource
in interface javax.sql.XAConnection
- Throws:
java.sql.SQLException
resetConnection
protected void resetConnection()
throws java.sql.SQLException
- Overrides:
resetConnection
in class AbstractPooledConnection
- Throws:
java.sql.SQLException
createConnectionHandler
protected org.firebirdsql.ds.PooledConnectionHandler createConnectionHandler()
- Description copied from class:
AbstractPooledConnection
- Creates the PooledConnectionHandler for the connection.
Subclasses may override this method to return their own subclass of PooledConnectionHandler.
- Overrides:
createConnectionHandler
in class AbstractPooledConnection
- Returns:
- PooledConnectionHandler
inDistributedTransaction
protected boolean inDistributedTransaction()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.