#ifndef TRANSACTION_H #define TRANSACTION_H #include #include class Transaction { public: Transaction(); ~Transaction(); void commit(); private: odb::transaction *m_tr; static bool m_inTransaction; }; #endif // TRANSACTION_H