#include <PoolDatabaseSchema.h>
Public Member Functions | |
bool | add (const std::string &sequenceName) |
void | create () |
void | drop () |
void | erase (const std::string &sequenceName) |
bool | exists () |
bool | getLastId (const std::string &sequenceName, int &lastId) |
void | init (PoolDbCache &dbCache) |
std::string | name () |
PoolSequenceTable (coral::ISchema &dbSchema) | |
void | sinchronize (const std::string &sequenceName, int lastValue) |
virtual | ~PoolSequenceTable () |
Public Member Functions inherited from ora::ISequenceTable | |
ISequenceTable (coral::ISchema &schema) | |
virtual | ~ISequenceTable () |
Public Member Functions inherited from ora::IDatabaseTable | |
IDatabaseTable (coral::ISchema &schema) | |
coral::ISchema & | schema () |
virtual void | setAccessPermission (const std::string &principal, bool forWrite) |
virtual | ~IDatabaseTable () |
Static Public Member Functions | |
static std::string | sequenceNameColumn () |
static std::string | sequenceValueColumn () |
static std::string | tableName () |
Private Attributes | |
PoolDbCache * | m_dbCache |
Definition at line 66 of file PoolDatabaseSchema.h.
|
explicit |
Definition at line 87 of file PoolDatabaseSchema.cc.
|
virtual |
Definition at line 92 of file PoolDatabaseSchema.cc.
|
virtual |
Implements ora::ISequenceTable.
Definition at line 100 of file PoolDatabaseSchema.cc.
References python.IdGenerator::schema.
|
virtual |
Implements ora::IDatabaseTable.
Definition at line 194 of file PoolDatabaseSchema.cc.
References python.IdGenerator::schema, and ora::throwException().
|
virtual |
Implements ora::IDatabaseTable.
Definition at line 202 of file PoolDatabaseSchema.cc.
References python.IdGenerator::schema.
|
virtual |
Implements ora::ISequenceTable.
Definition at line 174 of file PoolDatabaseSchema.cc.
References python.IdGenerator::schema.
|
virtual |
Implements ora::IDatabaseTable.
Definition at line 186 of file PoolDatabaseSchema.cc.
References python.IdGenerator::schema, and ora::throwException().
|
virtual |
Implements ora::ISequenceTable.
Definition at line 114 of file PoolDatabaseSchema.cc.
References o2o::query, python.IdGenerator::schema, and ora::throwException().
void ora::PoolSequenceTable::init | ( | PoolDbCache & | dbCache | ) |
Definition at line 95 of file PoolDatabaseSchema.cc.
Referenced by ora::PoolDatabaseSchema::PoolDatabaseSchema().
|
virtual |
Implements ora::IDatabaseTable.
Definition at line 182 of file PoolDatabaseSchema.cc.
Referenced by Vispa.Views.PropertyView.Property::valueChanged().
|
static |
Definition at line 77 of file PoolDatabaseSchema.cc.
|
static |
Definition at line 82 of file PoolDatabaseSchema.cc.
|
virtual |
Implements ora::ISequenceTable.
Definition at line 148 of file PoolDatabaseSchema.cc.
References python.IdGenerator::schema, and ora::throwException().
|
static |
Definition at line 72 of file PoolDatabaseSchema.cc.
|
private |
Definition at line 85 of file PoolDatabaseSchema.h.