9.6 Defining Global Transactions for an XA-Compliant Server Group
Generally, the application programmer writes a service that is
part of an XA-compliant server group to perform some operation via
the group’s resource manager. In the normal case, the service
expects to perform all operations within a transaction. If, on the
other hand, the service is called with the communication
flags
set to TPNOTRAN, you may
receive unexpected results when executing database operations.
In order to avoid unexpected behavior, design the application so
that services in groups associated with XA-compliant resource
managers are always called in transaction mode or are always
defined in the configuration file with AUTOTRAN set to
Y. You must also test the transaction level in the
service code early.
Parent topic: Writing Global Transactions