|
Oracle JDBC API Reference 11g Release 2 ("11.2.0.3.0") |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdbc.pool.OraclePooledConnection oracle.jdbc.xa.OracleXAConnection oracle.jdbc.xa.client.OracleXAConnection oracle.jdbc.xa.client.OracleXAHeteroConnection
public class OracleXAHeteroConnection
A factory for Connection objects. An object that implements the XAConnection interface provides support for distributed transactions. An XAConnection may be enlisted in a distributed transaction by means of an XAResource object.
This class implements oracle.jdbc.xa.OracleXAConnection and works for both pre- and post-8.1.6 Oracle backends. OracleXAConnection is the alternative implementation that talks to only 8.1.6 and post-8.1.6 backends.
Field Summary | |
---|---|
static java.lang.String |
BUILD_DATE
|
static boolean |
TRACE
|
Constructor Summary | |
---|---|
OracleXAHeteroConnection()
Constructor. |
|
OracleXAHeteroConnection(java.sql.Connection pc)
Constructor that takes a Connection parameter. |
Method Summary | |
---|---|
javax.transaction.xa.XAResource |
getXAResource()
Return an XAResource object to the caller. |
Methods inherited from class oracle.jdbc.xa.OracleXAConnection |
---|
getConnection |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sql.PooledConnection |
---|
addConnectionEventListener, close, removeConnectionEventListener |
Field Detail |
---|
public static final java.lang.String BUILD_DATE
public static final boolean TRACE
Constructor Detail |
---|
public OracleXAHeteroConnection() throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
public OracleXAHeteroConnection(java.sql.Connection pc) throws javax.transaction.xa.XAException
pc
- A physical connection object.
javax.transaction.xa.XAException
Method Detail |
---|
public javax.transaction.xa.XAResource getXAResource()
getXAResource
in interface javax.sql.XAConnection
getXAResource
in class OracleXAConnection
|
Oracle JDBC API Reference 11g Release 2 ("11.2.0.3.0") |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |