Serializable
, PooledConnection
, XAConnection
, OraclePooledConnection
, OracleXAConnection
public class OracleXAHeteroConnection extends OracleXAConnection
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.
autoCommit, cachedConnectionAttributes, close_callback_string, closeOption, connect_auto_commit_string, connection_properties_string, connectionMarkedDown, dataSourceDbUniqNameKey, dataSourceHostNameKey, dataSourceInstanceNameKey, event_listener_string, explicit_caching_enabled, ExplicitStatementCachingEnabled, implicit_caching_enabled, ImplicitStatementCachingEnabled, isClearMetaData, logicalHandle, LoginTimeout, needToAbort, NO_IMPLICIT_BEGIN_REQUEST_PROPERTY, object_type_map, oracleDriver, physicalConn, pool_auto_commit_string, private_data, replayConn, sql_exception_string, statement_cache_size, transaction_isolation, unMatchedCachedConnAttr, url_string
isXAResourceTransLoose
xaResource
Constructor | Description |
---|---|
OracleXAHeteroConnection() |
Constructor.
|
OracleXAHeteroConnection​(Connection pc) |
Constructor that takes a Connection parameter.
|
Modifier and Type | Method | Description |
---|---|---|
XAResource |
getXAResource() |
Return an XAResource object to the caller.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCallWithKey, getExplicitCachingEnabled, getImplicitCachingEnabled, getLastAccessedTime, getLogicalHandle, getStatementCacheSize, getStatementWithKey, purgeExplicitCache, purgeImplicitCache, registerCloseCallback, registerImplicitCacheConnectionEventListener, setExplicitCachingEnabled, setImplicitCachingEnabled, setLastAccessedTime, setShardingKey, setShardingKeyIfValid, setStatementCacheSize
addConnectionEventListener, addStatementEventListener, close, debug, getCallWithKey, getConnectionDuringExceptionHandling, getExplicitCachingEnabled, getImplicitCachingEnabled, getLastAccessedTime, getLogicalHandle, getPhysicalHandle, getStatementCacheSize, getStatementWithKey, getStmtCacheSize, isStatementCacheInitialized, purgeExplicitCache, purgeImplicitCache, registerImplicitCacheConnectionEventListener, removeConnectionEventListener, removeStatementEventListener, setConnection, setExplicitCachingEnabled, setImplicitCachingEnabled, setLastAccessedTime, setProperties, setShardingKey, setShardingKeyIfValid, setStatementCacheSize, setStmtCacheSize, setStmtCacheSize
getConnection
addConnectionEventListener, addStatementEventListener, close, removeConnectionEventListener, removeStatementEventListener
public OracleXAHeteroConnection() throws XAException
XAException
public OracleXAHeteroConnection​(Connection pc) throws XAException
pc
- A physical connection object.XAException
public XAResource getXAResource()
getXAResource
in interface OraclePooledConnection
getXAResource
in interface XAConnection
getXAResource
in class OracleXAConnection