| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public XAConnection | getXAConnection()
Implements javax. Attempts to establish a physical database connection that can be used in a distributed transaction. |
| public XAConnection | getXAConnection(String
the database user on whose behalf the connection is being made u, String the user's password p)Implements javax. Attempts to establish a physical database connection, using the given user name and password. |
| private XAConnection | Returns: XAConnectionconnection to wrap conn)Wraps a connection as a 'fake' XAConnection |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| MysqlXADataSource | back to summary |
|---|---|
| public MysqlXADataSource() Default no-arg constructor is required by specification. | |
| getXAConnection | back to summary |
|---|---|
| public XAConnection getXAConnection() throws SQLException Implements javax. Doc from javax. Attempts to establish a physical database connection that can be used in a distributed transaction.
| |
| getXAConnection | back to summary |
|---|---|
| public XAConnection getXAConnection(String u, String p) throws SQLException Implements javax. Doc from javax. Attempts to establish a physical database connection, using the given user name and password. The connection that is returned is one that can be used in a distributed transaction.
| |
| wrapConnection | back to summary |
|---|---|
| private XAConnection wrapConnection(Connection conn) throws SQLException Wraps a connection as a 'fake' XAConnection
| |