Nonstop Database, HiRDB Version 9 UAP Development Guide

[Contents][Index][Back][Next]

18.6.6 XAResource interface

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.

Organization of this subsection
(1) Methods
(2) Package and class names

(1) Methods

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) --

Legend:
--: None

(2) Package and class names

The names of the package and class for using this interface directly are as follows:

Package name: JP.co.Hitachi.soft.HiRDB.JDBC

Class name: PrdbXAResource