CommonDataSource, ConnectionPoolDataSource, DataSource, OracleCommonDataSource, OracleConnectionPoolDataSource, OracleConnectionPoolDataSource, OracleDataSource, OracleDataSource, OracleXADataSource, Wrapper, XADataSourceOracleXADataSourceImplpublic interface OracleXADataSource extends OracleConnectionPoolDataSource, OracleXADataSource
CONNECTION_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| Modifier and Type | Method | Description |
|---|---|---|
XAConnection |
getXAConnection() |
Attempts to establish a database connection that can be used
in a distributed transaction.
|
XAConnection |
getXAConnection(String user,
String passwd) |
Attempts to establish a database connection that can be used
in a distributed transaction.
|
getParentLoggergetLoginTimeout, getLogWriter, setLoginTimeout, setLogWritergetConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWritercreateShardingKeyBuilder, getConnectionProperties, getDatabaseName, getDataSourceName, getDescription, getNetworkProtocol, getPortNumber, getServerName, getURL, getUser, setConnectionProperties, setDatabaseName, setDataSourceName, setDescription, setNetworkProtocol, setPassword, setPortNumber, setServerName, setURL, setUsercreatePooledConnectionBuildergetPooledConnection, getPooledConnectioncreateConnectionBuilderclearReplayStatistics, getConnectionInitializationCallback, getConnectionProperty, getExplicitCachingEnabled, getImplicitCachingEnabled, getMaxStatements, getReplayStatistics, getRoleName, registerConnectionInitializationCallback, setConnectionProperty, setExplicitCachingEnabled, setImplicitCachingEnabled, setMaxStatements, setRoleName, unregisterConnectionInitializationCallbackcreateXAConnectionBuilderisWrapperFor, unwrapgetLoginTimeout, getLogWriter, setLoginTimeout, setLogWriterXAConnection getXAConnection() throws SQLException
getXAConnection in interface XADataSourceSQLException - if a database-access error occurs.XAConnection getXAConnection(String user, String passwd) throws SQLException
getXAConnection in interface XADataSourceuser - The database user on whose behalf the Connection is
being made.passwd - The user's passwordSQLException - if a database-access error occurs.
Copyright © 2008, 2017, Oracle. All rights reserved.