This sample demonstrates the use of function
mco_trans_iterate()
to iterate through the objects created within a 2-phase transaction before the transaction is actually committed to the database.
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_iterateBut it is more instructive to run it in your development environment debugger, stepping through the code.