[Enterprise Extensions only]

Coordinator::rollback_only

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.

IDL Syntax

  void rollback_only()
      raises (Inactive);

Input parameters

None.

Return values

None.

Examples

The following examples demonstrate the usage of CosTransactions::Coordinator::rollback_only.

C++ Example

  CosTransactions::Coordinator *coord;
  coord->rollback_only();
 

Java Example

  org.omg.CosTransactions.Coordinator coord;
  coord.rollback_only();