public class DataSourceProxyXA extends AbstractDataSourceProxyXA
DEFAULT_RESOURCE_GROUP_IDbranchType, dataSource, dbType, driver, resourceGroupId, resourceId| Constructor and Description |
|---|
DataSourceProxyXA(DataSource dataSource) |
DataSourceProxyXA(DataSource dataSource,
String resourceGroupId) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
Connection |
getConnection(String username,
String password) |
protected Connection |
getConnectionProxy(Connection connection) |
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 DataSourceProxyXA(DataSource dataSource)
public DataSourceProxyXA(DataSource dataSource, String resourceGroupId)
public Connection getConnection() throws SQLException
SQLExceptionpublic Connection getConnection(String username, String password) throws SQLException
SQLExceptionprotected Connection getConnectionProxy(Connection connection) throws SQLException
SQLExceptionprotected Connection getConnectionProxyXA() throws SQLException
getConnectionProxyXA in class AbstractDataSourceProxyXASQLExceptionCopyright © 2024 Apache. All rights reserved.