Class JtdsXAConnection

java.lang.Object
net.sourceforge.jtds.jdbcx.PooledConnection
net.sourceforge.jtds.jdbcx.JtdsXAConnection
All Implemented Interfaces:
PooledConnection, XAConnection

public class JtdsXAConnection extends PooledConnection implements XAConnection
jTDS implementation of the XAConnection interface.
Version:
$Id: JtdsXAConnection.java,v 1.4 2005-04-28 14:29:30 alin_sinpalean Exp $
  • Field Details

    • resource

      private final XAResource resource
      The XAResource used by the transaction manager to control this connection.
    • dataSource

      private final JtdsDataSource dataSource
    • xaConnectionId

      private final int xaConnectionId
  • Constructor Details

    • JtdsXAConnection

      public JtdsXAConnection(JtdsDataSource dataSource, Connection connection) throws SQLException
      Construct a new XAConnection object.
      Parameters:
      dataSource - the parent DataSource object
      connection - the real database connection
      Throws:
      SQLException
  • Method Details