Scalable Database Server, HiRDB Version 8 UAP Development Guide

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

16.11.15 setRMID

(a) Function

Sets an identifier for the Resource Manager.

(b) Format
 
public void setRMID (int rmid)
 
(c) Argument

int rmid
Specifies an identifier for the Resource Manager.
(d) Return value

None.

(e) Functional detail

Sets a positive numeric value of 1 or greater as the identifier for the Resource Manager.

If multiple Resource Managers are used, a unique identifier must be set for each Resource Manager.

If this method is not invoked, the default identifier of 1 is used.

This method is provided by the JdbhDbpsvXADataSource class only.

(f) Exception that occurs

If the argument value is smaller than 1, the method throws an SQLException.