86 void commit() throw( r_Error );
155 #define DEF_TRANSACTION
161 #include "rasodmg/transaction.icc"
163 #ifdef EARLY_TEMPLATE
164 #ifdef __EXECUTABLE__
166 #include "rasodmg/ref.cpp"
168 #include "rasodmg/ref.cc"
r_Transaction()
default constructor
r_TAStatus
possible states of the transaction
Definition: transaction.hh:62
Definition: transaction.hh:121
Definition: transaction.hh:58
Definition: transaction.hh:121
Definition: transaction.hh:121
Definition: collection.hh:40
Definition: transaction.hh:62
r_TAMode
possible transaction modes
Definition: transaction.hh:65
r_TAStatus get_status() const
returns the current state
void abort()
abort transaction and forget changes within transaction
Definition: oqlquery.hh:45
static r_Transaction * actual_transaction
store a pointer to the actual transaction
Definition: transaction.hh:115
Definition: transaction.hh:62
r_TAMode get_mode() const
returns current mode
Definition: transaction.hh:121
Definition: transaction.hh:62
Definition: transaction.hh:121
Definition: oqlquery.hh:46
r_Ref_Any load_object(const r_OId &oid)
load an object (internal use only)
Definition: transaction.hh:65
void begin(r_TAMode mode=read_write)
start the transaction
void commit()
commit transaction and make changes persistent
~r_Transaction()
destructor, an active transaction is aborted
Definition: transaction.hh:62
GenRefType
possible non-r_Object values maintained by the transaction
Definition: transaction.hh:121
Definition: transaction.hh:65
r_Iterator< r_Object * > r_Iterator_r_Object_dummy
Definition: transaction.hh:160
void add_object_list(GenRefType type, void *ref)
adds a non-r_Object to the list of persistent objects