07-Transactions_Transaction

This sample performs basic transaction start and commit. The application simply demonstrates the use of functions mco_trans_start() and mco_trans_commit() with READ_ONLY and READ_WRITE transactions, and the function mco_trans_checkpoint() to cause indexes to be updated during a transaction.

How to Run

See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the \target\bin directory:

 
    07_transactions_transaction
     

But it is more instructive to run it in your development environment debugger, stepping through the code.

Related Topics Link IconRelated Topics