Use one-phase and two-phase commit resources in the same transaction

Use these topics to help you coordinate the use of a single one-phase commit capable resource with any number of two-phase commit capable resources in the same global transaction.

 

Overview

We can coordinate the use of a single one-phase commit capable resource with any number of two-phase commit capable resources in the same global transaction.

At transaction commit, the two-phase commit resources are prepared first using the two-phase commit protocol, and if this is successful the one-phase commit-resource is then called to commit(one_phase). The two-phase commit resources are then committed or rolled back depending on the response of the one-phase commit resource.

For more information about using one-phase and two-phase commit resources within the same transaction, see the following topics:

 

See also


Coordinating access to one-phase and two-phase commit resources within the same transaction
Assembling an application to use one-phase and two-phase resources within the same transaction
Configuring an application server to allow logging for heuristic reporting
Exceptions thrown for transactions involving both single- and two-phase commit resources
Last Participant Support: Resources for learning