Nonstop Database, HiRDB Version 9 UAP Development Guide
For details and usage information about the methods provided by the XAResource interface, see the JDBC documentation. This section shows the XAResource interface methods that are supported by the JDBC driver.
The following table lists the methods of the XAResource interface.
Table 18-63 XAResource interface methods
| Method | Remarks |
|---|---|
| commit(Xid xid, boolean onePhase) | -- |
| end(Xid xid, int flags) | -- |
| getTransactionTimeout() | This method returns 0 unconditionally. |
| prepare(Xid xid) | -- |
| recover(int flag) | -- |
| rollback(Xid xid) | -- |
| setTransactionTimeout(int seconds) | This method does not set the transaction timeout value. Instead, it returns false to indicate that the transaction timeout time was not set properly. |
| start(Xid xid, int flags) | -- |
The names of the package and class for using this interface directly are as follows:
All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd.