Scalable Database Server, HiRDB Version 8 UAP Development Guide

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

16.11.17 setXAThreadMode

(a) Function

Sets a thread mode for using XA.

(b) Format
 
public void setXAThreadMode (boolean mode)
 
(c) Argument

boolean mode
Specifies a thread mode for using XA.
true: Multi-thread mode
false: Single-thread mode
(d) Return value

None.

(e) Functional detail

Sets a thread mode for using XA. If this method is not invoked, the default value is false (single-thread mode).

This method is provided by the JdbhDbpsvXADataSource class only.

If the XA library provided by the RM (Resource Manager) supports multi-thread and if the application operates in the multi-thread mode, this method must be invoked in the true setting (multi-thread mode).

(f) Exception that occurs

None.