# 07-Transactions_Ph2disk

> This sample demonstrates a 2 phase commit to a disk-based database; run with command line arguments: exit (to abort after phase 1 commit), confirm (to confirm and phase 2 commit any transaction committed by phase 1), reject (to reject and rollback any transactions phase 1 committed).

### 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_ph2disk

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

> Related Topics