|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2) E12826-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PoolXADataSource
A Universal Connection Pool-enabled XA data source. See PoolDataSource for standard data source and connection pool properties that are supported.
PoolDataSource, UniversalConnectionPool| Field Summary |
|---|
| Method Summary | |
|---|---|
javax.sql.XAConnection |
getXAConnection()Obtains an XA connection from the embedded Universal Connection Pool instance. |
javax.sql.XAConnection |
getXAConnection(java.util.Properties labels)Obtains an XA connection from the embedded Universal Connection Pool instance, using the given connection labels. |
javax.sql.XAConnection |
getXAConnection(java.lang.String user, java.lang.String password)Obtains an XA connection from the embedded Universal Connection Pool instance, using the given user name and password. |
javax.sql.XAConnection |
getXAConnection(java.lang.String username, java.lang.String password, java.util.Properties labels)Obtains an XA connection from the embedded Universal Connection Pool instance, using the given user name, password, and connection labels. |
| Methods inherited from interface javax.sql.DataSource |
|---|
getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
| Methods inherited from interface javax.sql.XADataSource |
|---|
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
| Method Detail |
|---|
javax.sql.XAConnection getXAConnection()
throws java.sql.SQLException
XAConnection object represents a physical database connection that can be used in a distributed transaction.getXAConnection in interface javax.sql.XADataSourceXAConnection object that can be used in a distributed transaction.java.sql.SQLException - if a database access error occurs.
javax.sql.XAConnection getXAConnection(java.lang.String user,
java.lang.String password)
throws java.sql.SQLException
XAConnection object represents a physical database connection that can be used in a distributed transaction.getXAConnection in interface javax.sql.XADataSourceuser - The database user on whose behalf the connection is being made.password - The user's password.XAConnection object that can be used in a distributed transaction.java.sql.SQLException - if a database access error occurs.
javax.sql.XAConnection getXAConnection(java.util.Properties labels)
throws java.sql.SQLException
XAConnection object represents a physical database connection that can be used in a distributed transaction.labels - The requested connection labels.XAConnection object, which represents a physical connection to a data source, that can be used in a distributed transaction.java.sql.SQLException - if a database access error occurs.
javax.sql.XAConnection getXAConnection(java.lang.String username,
java.lang.String password,
java.util.Properties labels)
throws java.sql.SQLException
XAConnection object represents a physical database connection that can be used in a distributed transaction.username - The database user on whose behalf the connection is being made.password - The user's password.labels - The requested connection labels.XAConnection object that can be used in a distributed transaction.java.sql.SQLException - if a database access error occurs.
|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2) E12826-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||