Configuring the Resource Manager
As explained in
Chapter 4, XA connections to your database are established by using the
database() function in
RWDBManager, and providing its
propertyString parameter with key
XA=xaParameter. This section explains how you obtain the value of the
xaParameter argument that is specific to Oracle OCI.
The value of the xaParameter argument must be the same as that used for the DB parameter in the open string passed to the TPM to open the database. For example, the open string for the Oracle databases takes the following form:
Oracle_XA(+required_fields) [+optional_fields]
NOTE: For complete and accurate connection information, consult the documentation for your database and TPM.
As of this printing, required_fields are:
User and password:
Acc=P/user/password Session time limit:
SesTm=session_time_limit The optional_fields includes:
Database name:
DB=db_name Note that the value of this
DB parameter is the same value that you provide in the argument
XA=xaParameter when defining the
propertyString parameter in
RWDBManager::database(). See
RWDBDatabase Objects.