|
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
public class OracleXAConnection
An XAConnection object provides support for distributed transactions. An XAConnection may be enlisted in a distributed transaction by means of an XAResource object.
For Optimization purposes, we decided to have 2 versions one for client and one for server when used in Java Stored Procedures and in EJB. This one is the implementation of OracleXADataSource for client side usage.
Field Summary | |
---|---|
static java.lang.String |
BUILD_DATE
|
static boolean |
TRACE
|
Constructor Summary | |
---|---|
OracleXAConnection()
Create an OracleXAConnection object. |
|
OracleXAConnection(java.sql.Connection pc)
Create an OracleXAConnection object. |
Method Summary | |
---|---|
javax.transaction.xa.XAResource |
getXAResource()
Return an XA resource 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 OracleXAConnection() throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
public OracleXAConnection(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()
Return an XA resource to the caller.
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 |