This sample performs basic transaction start and commit. The application simply demonstrates the use of functions
mco_trans_start()andmco_trans_commit()withREAD_ONLYandREAD_WRITEtransactions, and the functionmco_trans_checkpoint()to cause indexes to be updated during a transaction.
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\bindirectory:07_transactions_transactionBut it is more instructive to run it in your development environment debugger, stepping through the code.