|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 oracle.jdbc.xa.XAResource |
getXAResource()
Return an XA resource to the caller. |
Constructor Detail |
public OracleXAConnection() throws oracle.jdbc.xa.XAException
public OracleXAConnection(java.sql.Connection pc) throws oracle.jdbc.xa.XAException
A
- physical connection object.Method Detail |
public abstract oracle.jdbc.xa.XAResource getXAResource()
Return an XA resource to the caller.
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |