oracle.jdbc.xa.client
Class OracleXAHeteroConnection
java.lang.Object
oracle.jdbc.pool.OraclePooledConnection
oracle.jdbc.xa.OracleXAConnection
oracle.jdbc.xa.client.OracleXAConnection
oracle.jdbc.xa.client.OracleXAHeteroConnection
- All Implemented Interfaces:
- javax.sql.PooledConnection, java.io.Serializable, javax.sql.XAConnection
- public class OracleXAHeteroConnection
- extends OracleXAConnection
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.
- See Also:
- Serialized Form
Fields inherited from class oracle.jdbc.pool.OraclePooledConnection |
cachedConnectionAttributes, close_callback_string, connect_auto_commit_string, connection_properties_string, event_listener_string, explicit_caching_enabled, implicit_caching_enabled, m_closeOption, object_type_map, pool_auto_commit_string, private_data, sql_exception_string, statement_cache_size, transaction_isolation, unMatchedCachedConnAttr, url_string |
Method Summary |
javax.transaction.xa.XAResource |
getXAResource()
Return an XAResource object to the caller. |
Methods inherited from class oracle.jdbc.pool.OraclePooledConnection |
addConnectionEventListener, close, getCallWithKey, getExplicitCachingEnabled, getImplicitCachingEnabled, getLastAccessedTime, getLogicalHandle, getPhysicalHandle, getStatementCacheSize, getStatementWithKey, getStmtCacheSize, isStatementCacheInitialized, purgeExplicitCache, purgeImplicitCache, registerImplicitCacheConnectionEventListener, removeConnectionEventListener, setExplicitCachingEnabled, setImplicitCachingEnabled, setLastAccessedTime, setProperties, setStatementCacheSize, setStmtCacheSize, setStmtCacheSize |
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 |
TRACE
public static final boolean TRACE
- See Also:
- Constant Field Values
PRIVATE_TRACE
public static final boolean PRIVATE_TRACE
- See Also:
- Constant Field Values
BUILD_DATE
public static final java.lang.String BUILD_DATE
- See Also:
- Constant Field Values
OracleXAHeteroConnection
public OracleXAHeteroConnection()
throws javax.transaction.xa.XAException
- Constructor. Creates an OracleXAHeteroConnection object.
- Throws:
javax.transaction.xa.XAException
OracleXAHeteroConnection
public OracleXAHeteroConnection(java.sql.Connection pc)
throws javax.transaction.xa.XAException
- Constructor that takes a Connection parameter. Create an
OracleXAHeteroConnection object.
- Parameters:
pc
- A physical connection object.
- Throws:
javax.transaction.xa.XAException
getXAResource
public javax.transaction.xa.XAResource getXAResource()
- Return an XAResource object to the caller.
- Specified by:
getXAResource
in interface javax.sql.XAConnection
- Overrides:
getXAResource
in class OracleXAConnection
- Returns:
- the XAResource
Copyright © 1998,2004, Oracle. All rights reserved