Qore SqlUtil Module Reference 1.9
Loading...
Searching...
No Matches
AbstractSavepointHelper.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
25// assume local scope for variables, do not use "$" signs
26// require type definitions everywhere
28// enable all warnings
29
31namespace SqlUtil {
34
35public:
36protected:
38 AbstractDatasource ds;
39
41 string savepoint;
42
43public:
44
46 constructor(AbstractDatasource ds, *string savepoint);
47
48
51
52
55
56
58protected:
60public:
61
63protected:
64 abstract rollbackImpl();
65public:
66
68protected:
70public:
71};
72};
Abstract base class for savepoint helpers for epheremal transaction support.
Definition: AbstractSavepointHelper.qc.dox.h:33
string savepoint
The name of the savepoint.
Definition: AbstractSavepointHelper.qc.dox.h:41
abstract deleteSavepointImpl()
Deletes the savepoint.
abstract rollbackImpl()
Rolls back to the savepoint.
AbstractDatasource ds
The datasource where the transaction is handled.
Definition: AbstractSavepointHelper.qc.dox.h:38
abstract createSavepointImpl()
Creates the savepoint.
rollback()
Rolls back to the savepoint.
constructor(AbstractDatasource ds, *string savepoint)
Creates the object.
destructor()
Deletes the savepoint.
Qore AbstractDatabase class definition.
Definition: AbstractDatabase.qc.dox.h:26