public class DataSourceProxyXANative extends AbstractDataSourceProxyXA
DEFAULT_RESOURCE_GROUP_IDbranchType, dataSource, dbType, driver, resourceGroupId, resourceId| 构造器和说明 |
|---|
DataSourceProxyXANative(XADataSource dataSource) |
DataSourceProxyXANative(XADataSource dataSource,
String resourceGroupId) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, isWrapperFor, lookup, release, remove, setBranchStatus, setBranchType, setDbType, setDriver, setLoginTimeout, setLogWriter, setResourceGroupId, setResourceId, 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 在类中 AbstractDataSourceProxyXASQLExceptionCopyright © 2022 Seata. All rights reserved.