|
Oracle® Database JDBC Java API Reference 11g Release 2 ("11.2.0.0.1-Beta-1") BETA E13995-01 |
||||||||
| 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
public abstract 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.
| Field Summary | |
|---|---|
static java.lang.String |
BUILD_DATE |
static boolean |
PRIVATE_TRACE |
static boolean |
TRACE |
| Constructor Summary | |
|---|---|
OracleXAConnection()Create an OracleXAConnection object. |
|
OracleXAConnection(java.sql.Connection pc)Create an OracleXAConnection object. |
|
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection()Create an object handle for this physical connection. |
abstract javax.transaction.xa.XAResource |
getXAResource()Return an XA resource to the caller. |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 java.lang.String BUILD_DATE
public static final boolean TRACE
public static final boolean PRIVATE_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 abstract javax.transaction.xa.XAResource getXAResource()
Return an XA resource to the caller.
getXAResource in interface javax.sql.XAConnectiongetXAResource in class OraclePooledConnectionjava.sql.SQLException - if a database-access error occurs
public java.sql.Connection getConnection()
throws java.sql.SQLException
Create an object handle for this physical connection. The object returned is a temporary handle used by application code to refer to a physical connection that is being pooled.
getConnection in interface javax.sql.PooledConnectiongetConnection in class OraclePooledConnectionjava.sql.SQLException - if a database-access error occurs.
|
Oracle® Database JDBC Java API Reference 11g Release 2 ("11.2.0.0.1-Beta-1") BETA E13995-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||