public final class SQLServerXADataSource extends SQLServerConnectionPoolDataSource implements XADataSource
Constructor and Description |
---|
SQLServerXADataSource() |
Modifier and Type | Method and Description |
---|---|
Reference |
getReference() |
XAConnection |
getXAConnection()
Obtain a physical database connection to particate in an XA transaction.
|
XAConnection |
getXAConnection(String user,
String password)
Obtain a physical database connection to particate in an XA transaction with the specified user and password.
|
getPooledConnection, getPooledConnection
getAccessToken, getApplicationIntent, getApplicationName, getAuthentication, getColumnEncryptionSetting, getConnection, getConnection, getDatabaseName, getDescription, getEncrypt, getFailoverPartner, getHostNameInCertificate, getInstanceName, getKeyStoreAuthentication, getKeyStoreLocation, getLastUpdateCount, getLockTimeout, getLoginTimeout, getLogWriter, getMultiSubnetFailover, getPacketSize, getParentLogger, getPortNumber, getResponseBuffering, getSelectMethod, getSendStringParametersAsUnicode, getSendTimeAsDatetime, getServerName, getServerNameAsACE, getServerSpn, getTransparentNetworkIPResolution, getTrustServerCertificate, getTrustStore, getURL, getUser, getWorkstationID, getXopenStates, isWrapperFor, setAccessToken, setApplicationIntent, setApplicationName, setAuthentication, setAuthenticationScheme, setColumnEncryptionSetting, setDatabaseName, setDescription, setEncrypt, setFailoverPartner, setHostNameInCertificate, setInstanceName, setIntegratedSecurity, setKeyStoreAuthentication, setKeyStoreLocation, setKeyStoreSecret, setLastUpdateCount, setLockTimeout, setLoginTimeout, setLogWriter, setMultiSubnetFailover, setPacketSize, setPassword, setPortNumber, setResponseBuffering, setSelectMethod, setSendStringParametersAsUnicode, setSendTimeAsDatetime, setServerName, setServerNameAsACE, setServerSpn, setTransparentNetworkIPResolution, setTrustServerCertificate, setTrustStore, setTrustStorePassword, setURL, setUser, setWorkstationID, setXopenStates, toString, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
public XAConnection getXAConnection(String user, String password) throws SQLException
getXAConnection
in interface XADataSource
SQLException
- The database connection failed.public XAConnection getXAConnection() throws SQLException
getXAConnection
in interface XADataSource
SQLException
- The database connection failed.public Reference getReference()
getReference
in interface Referenceable
getReference
in class SQLServerConnectionPoolDataSource
Copyright © 2016. All rights reserved.