public abstract class OracleXADataSource extends OracleConnectionPoolDataSource implements OracleXADataSource, oracle.jdbc.replay.internal.OracleXADataSource
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
useNativeXA |
CHECKSUM_PROPERTY, clientChecksum11203x, clientChecksum12x, connectionProperties, databaseName, dataSourceName, DEFAULT_SERVICE_NAME, description, doneDumpOnMemoryPressure, driver, driverType, ENABLE_AC_SUPPORT_PROPERTY, explicitCachingEnabled, explicitCachingEnabledSet, FAILOVER_RESTORE_AUTO, FAILOVER_RESTORE_LEVEL1, FAILOVER_RESTORE_LEVEL2, FAILOVER_RESTORE_NONE, FAILOVER_RESTORE_PROPERTY, FAILOVER_TYPE_AUTO, FAILOVER_TYPE_PROPERTY, FAILOVER_TYPE_TRANSACTION, IGNORE_AC_CONTEXT_PROPERTY, implicitCachingEnabled, implicitCachingEnabledSet, INITIATION_TIMEOUT_PROPERTY, isAutoACEnabled, isFirstConnection, isOracleDataSource, isReplayInDynamicMode, isStateRestorationAuto, isTransactionReplayEnabled, loginTimeout, logWriter, maxStatements, maxStatementsSet, networkProtocol, password, portNumber, RECONNECT_DELAY_PROPERTY, RECONNECT_RETRIES_PROPERTY, reconnectDelay, reconnectRetries, replayInitiationTimeout, REQUEST_SIZE_LIMIT_PROPERTY, serverName, serviceName, SESSION_STATE_CONSISTENCY_STATIC, SESSION_STATE_PROPERTY, stateRestorationType, tnsEntry, TRACE, url, userCONNECTION_PROPERTIES, DATA_SOURCE_NAME, DATABASE_NAME, DESCRIPTION, EXPLICIT_CACHING_ENABLED, IMPLICIT_CACHING_ENABLED, MAX_STATEMENTS, NETWORK_PROTOCOL, PASSWORD, PORT_NUMBER, ROLE_NAME, SERVER_NAME, URL, USER| Constructor and Description |
|---|
OracleXADataSource()
Create an OracleXADataSource instance.
|
| Modifier and Type | Method and Description |
|---|---|
OracleXAConnectionBuilder |
createXAConnectionBuilder()
Creates a new Oracle XA ConnectionBuilder instance
|
protected oracle.jdbc.internal.OracleConnection |
getConnectionDuringExceptionHandling() |
abstract XAConnection |
getXAConnection()
Attempt to establish a database connection.
|
abstract XAConnection |
getXAConnection(String user,
String passwd)
Attempt to establish a database connection.
|
void |
setURL(String url)
Set the URL from which connections have to be obtained.
|
createPooledConnectionBuilder, getConnection, getConnection, getConnection, getPhysicalConnection, getPhysicalConnection, getPhysicalConnection, getPhysicalConnection, getPhysicalConnection, getPooledConnection, getPooledConnection, getPooledConnectionaddRefProperties, cleanup, clearDoneDumpOnMemoryPressure, clearReplayStatistics, createConnectionBuilder, debug, enableACAndProxifyIfNecessary, finalize, getConnection, getConnection, getConnectionInitializationCallback, getConnectionNoProxy, getConnectionProperties, getConnectionProperty, getDatabaseName, getDataSourceName, getDescription, getDriverType, getExplicitCachingEnabled, getImplicitCachingEnabled, getLoginTimeout, getLogWriter, getMaxStatements, getMonitorLock, getNetworkProtocol, getParentLogger, getPassword, getPhysicalConnection, getPortNumber, getProxyFactory, getReference, getReplayStatistics, getReplayStatisticsString, getRequestSizeLimit, getRoleName, getServerName, getServiceName, getSystemProperty, getTNSEntryName, getURL, getUser, isWrapperFor, makeURL, registerConnectionInitializationCallback, registerMBean, removeReplayStatistics, setConnectionProperties, setConnectionProperty, setDatabaseName, setDataSourceName, setDescription, setDriverType, setExplicitCachingEnabled, setHostnameResolver, setImplicitCachingEnabled, setLoginTimeout, setLogWriter, setMaxStatements, setNetworkProtocol, setPassword, setPortNumber, setRoleName, setServerName, setServiceName, setSingleShardTransactionSupport, setSSLContext, setTNSEntryName, setTokenSupplier, setupACSpecificProperties, setUser, trace, unregisterConnectionInitializationCallback, unregisterMBean, unwrap, updateReplayStatisticsclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPooledConnection, getPooledConnectioncreatePooledConnectionBuilderclearDoneDumpOnMemoryPressure, getConnectionNoProxy, getProxyFactory, getReplayStatisticsString, getRequestSizeLimit, removeReplayStatistics, updateReplayStatisticsclearReplayStatistics, getConnectionInitializationCallback, getExplicitCachingEnabled, getImplicitCachingEnabled, getMaxStatements, getReplayStatistics, getRoleName, registerConnectionInitializationCallback, setExplicitCachingEnabled, setImplicitCachingEnabled, setMaxStatements, setRoleName, unregisterConnectionInitializationCallbackcreateConnectionBuilder, setExecutorServicegetConnection, getConnectionisWrapperFor, unwrapgetLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriterpublic OracleXADataSource()
throws SQLException
Create an OracleXADataSource instance.
SQLException - if error occurs while creating an objectpublic abstract XAConnection getXAConnection() throws SQLException
Attempt to establish a database connection.
getXAConnection in interface XADataSourceSQLException - if a database-access error occurs.public abstract XAConnection getXAConnection(String user, String passwd) throws SQLException
Attempt to establish a database connection.
getXAConnection in interface XADataSourceuser - the database user on whose behalf the Connection is being madepassword - the user's passwordSQLException - if a database-access error occurs.public void setURL(String url)
OracleDataSourcesetURL in interface OracleCommonDataSourcesetURL in class OracleDataSourceurl - URL to be set.protected oracle.jdbc.internal.OracleConnection getConnectionDuringExceptionHandling()
getConnectionDuringExceptionHandling in class OracleDataSourcepublic OracleXAConnectionBuilder createXAConnectionBuilder()
createXAConnectionBuilder in interface OracleXADataSource