Overview | Modifies the transaction associated with the target object so that it cannot be committed, but only rolled back. |
Original interface | CosTransactions::Coordinator Interface |
Exceptions | Inactive |
Intended Usage
Modifies the transaction associated with the target object so that it cannot be committed, but only rolled back. If the transaction is completing, the Inactive exception is raised.
Syntax
void rollback_only() raises (Inactive);
Input parameters
None.
Return values
None.
Examples
The following example demonstrates the usage of CosTransactions::Coordinator::rollback_only.
C++ Example
CosTransactions::Coordinator *coord; coord->rollback_only();