public class DataSourceProxyXANative extends AbstractDataSourceProxyXA
DEFAULT_RESOURCE_GROUP_IDbranchType, dataSource, dbType, driver, resourceGroupId, resourceId| Constructor and Description |
|---|
DataSourceProxyXANative(XADataSource dataSource) |
DataSourceProxyXANative(XADataSource dataSource,
String resourceGroupId) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
Connection |
getConnection(String username,
String password) |
protected Connection |
getConnectionProxy(XAConnection xaConnection) |
protected Connection |
getConnectionProxyXA() |
forceClosePhysicalConnection, getConnectionForXAFinishdataSourceCheck, getBranchStatus, getBranchType, getDbType, getDriver, getKeeper, getLoginTimeout, getLogWriter, getParentLogger, getResourceGroupId, getResourceId, getTargetDataSource, hold, isShouldBeHeld, isWrapperFor, lookup, release, remove, setBranchStatus, setBranchType, setDbType, setDriver, setLoginTimeout, setLogWriter, setResourceGroupId, setResourceId, setShouldBeHeld, unwrappublic DataSourceProxyXANative(XADataSource dataSource)
public DataSourceProxyXANative(XADataSource dataSource, String resourceGroupId)
public Connection getConnection() throws SQLException
SQLExceptionpublic Connection getConnection(String username, String password) throws SQLException
SQLExceptionprotected Connection getConnectionProxy(XAConnection xaConnection) throws SQLException
SQLExceptionprotected Connection getConnectionProxyXA() throws SQLException
getConnectionProxyXA in class AbstractDataSourceProxyXASQLExceptionCopyright © 2024 Apache. All rights reserved.