public class DataSourceXADataSource extends ManagedDataSource
delegate, hashCode, registry, transactionManager
Constructor and Description |
---|
DataSourceXADataSource(javax.sql.CommonDataSource ds,
TransactionManager txMgr,
TransactionSynchronizationRegistry registry) |
Modifier and Type | Method and Description |
---|---|
java.sql.Connection |
getConnection() |
java.sql.Connection |
getConnection(java.lang.String username,
java.lang.String password) |
equals, getDelegate, getLoginTimeout, getLogWriter, getParentLogger, getTxConnection, hashCode, isWrapperFor, setLoginTimeout, setLogWriter, unwrap
public DataSourceXADataSource(javax.sql.CommonDataSource ds, TransactionManager txMgr, TransactionSynchronizationRegistry registry)
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
getConnection
in class ManagedDataSource
java.sql.SQLException
public java.sql.Connection getConnection(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
getConnection
in class ManagedDataSource
java.sql.SQLException