The Contents of RWDBEnvironmentHandle
The DB XA Module returns an environment handle of type RWDBDB2CLILibXAEnvironmentHandle. This handle derives from RWDBDB2CLILibEnvironmentHandle and redefines the behavior of the following methods:
RWDBStatus maximumConnections(SQLINTEGER value) You should not set maximum number of connections in XA connectivity. This function produces a notSupported error.
RWDBStatus connectType(SQLINTEGER type) You should not change the connection type in XA connectivity. The connection type should always be SQL_COORDINATED_TRANS. This function produces a notSupported error.
RWDBStatus syncPoint(SQLINTEGER value) In XA connectivity, the value can be either SQL_ONEPHASE or SQL_TWOPHASE. The DB XA Module uses SQL_TWOPHASE as the default value. Trying to set a value other than these two values will result in a notSupported error.