Use one-phase and two-phase commit resources in the same transaction
Use these topics to help 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.
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. We can have multiple interactions that involve the one-phase commit resource in the same transaction, but only one such resource can be involved. This coordination is enabled by the last participant support.
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. 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:
- Coordination of access to one-phase commit and two-phase commit capable resources in the same transaction
- Assembling an application to use one-phase and two-phase commit resources in the same transaction
- Configure an application server to log heuristic reporting
Subtopics
- Assemble an application to use one-phase and two-phase commit resources in the same transaction
Use this task to assemble an application to use one-phase and two-phase commit resources in the same transaction.
- Coordination of access to one-phase commit and two-phase commit capable resources in the same transaction
Last participant support enables the use of a single one-phase commit capable resource with any number of two-phase commit capable resources in the same global transaction. We can have multiple interactions that involve the one-phase commit resource in the same transaction, but only one such resource can be involved.