5#ifndef INCLUDE_PERSISTENCYSVC_ITRANSACTION_H
6#define INCLUDE_PERSISTENCYSVC_ITRANSACTION_H
ITransaction is the interface class for user (macroscopic transactions) Every operation with the pool...
virtual void rollback()=0
Rolls back the transaction.
virtual bool commitAndHold()=0
Commits the holds transaction.
Type
Transaction type enumeration.
virtual bool commit()=0
Commits the transaction.
virtual Type type() const =0
Returns the transaction type.
virtual void update()=0
Reverts to update mode.
virtual bool start(Type type=READ)=0
Starts a new transaction. Returns the success of the operation.
virtual ~ITransaction()
Default destructor.
virtual bool isActive() const =0
Checks if the transaction is active.