|
Oracle10g JDBC | |||||||||
| 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
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, close, removeConnectionEventListener |
| Field Detail |
public static final boolean TRACE
public static final boolean PRIVATE_TRACE
public static final java.lang.String BUILD_DATE
| Constructor Detail |
public OracleXAConnection()
throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
public OracleXAConnection(java.sql.Connection pc)
throws javax.transaction.xa.XAException
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.XAConnectionjava.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.
|
Oracle10g JDBC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||