public class DataSourceProxyXA extends AbstractDataSourceProxyXA
DEFAULT_RESOURCE_GROUP_IDbranchType, dataSource, dbType, driver, resourceGroupId, resourceId| 构造器和说明 |
|---|
DataSourceProxyXA(DataSource dataSource) |
DataSourceProxyXA(DataSource dataSource,
String resourceGroupId) |
| 限定符和类型 | 方法和说明 |
|---|---|
Connection |
getConnection() |
Connection |
getConnection(String username,
String password) |
protected Connection |
getConnectionProxy(Connection connection) |
protected Connection |
getConnectionProxyXA() |
forceClosePhysicalConnection, getConnectionForXAFinishdataSourceCheck, getBranchType, getDbType, getDriver, getLoginTimeout, getLogWriter, getParentLogger, getResourceGroupId, getResourceId, getTargetDataSource, hold, isWrapperFor, lookup, release, setBranchType, setDbType, setDriver, setLoginTimeout, setLogWriter, setResourceGroupId, setResourceId, 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 在类中 AbstractDataSourceProxyXASQLExceptionCopyright © 2020 Seata. All rights reserved.