|
Oracle JDBC API Reference 12c Release 1 ("12.1.0.2.0") E17663-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.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 boolean |
TRACE
|
| Fields inherited from class oracle.jdbc.xa.client.OracleXAConnection |
|---|
isXAResourceTransLoose |
| Fields inherited from class oracle.jdbc.xa.OracleXAConnection |
|---|
xaResource |
| Constructor Summary | |
|---|---|
OracleXAHeteroConnection()
Constructor. |
|
OracleXAHeteroConnection(Connection pc)
Constructor that takes a Connection parameter. |
|
| Method Summary | |
|---|---|
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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.sql.PooledConnection |
|---|
addConnectionEventListener, addStatementEventListener, close, removeConnectionEventListener, removeStatementEventListener |
| Field Detail |
|---|
public static final boolean TRACE
| Constructor Detail |
|---|
public OracleXAHeteroConnection()
throws XAException
XAException
public OracleXAHeteroConnection(Connection pc)
throws XAException
pc - A physical connection object.
XAException| Method Detail |
|---|
public XAResource getXAResource()
getXAResource in interface XAConnectiongetXAResource in class OracleXAConnection
|
Oracle JDBC API Reference 12c Release 1 ("12.1.0.2.0") E17663-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||