5 #include "RelationalAccess/ISchema.h"
6 #include "RelationalAccess/ITable.h"
7 #include "RelationalAccess/ITablePrivilegeManager.h"
17 table.privilegeManager().grantToUser( principal, coral::ITablePrivilegeManager::Select );
19 table.privilegeManager().grantToUser( principal, coral::ITablePrivilegeManager::Update );
20 table.privilegeManager().grantToUser( principal, coral::ITablePrivilegeManager::Insert );
35 coral::ITable& coralHandle = m_schema.tableHandle(
name() );
45 static const std::string s_name(
"USER_SCHEMA_VERSION");
67 scopeName( rhs.scopeName ),
68 variableName( rhs.variableName ),
69 variableType( rhs.variableType ),
70 elementType( rhs.elementType ),
72 columns( rhs.columns ){
101 std::map< int, MappingRawElement>::iterator iElem =
elements.find( elementId );
105 return iElem->second;
116 unsigned int numberObj ):
119 numberOfObjects(numberObj){
125 numberOfObjects(rhs.numberOfObjects){
static std::string versionParameterName()
static std::string userSchemaVersionParameterName()
MappingRawElement & addElement(int elementId)
std::vector< std::string > columns
void setTableAccessPermission(coral::ITable &table, const std::string &principal, bool forWrite)
INamingServiceTable(coral::ISchema &schema)
std::string poolSchemaVersion()
static IDatabaseSchema * createSchemaHandle(coral::ISchema &schema)
static std::string emptyScope()
static bool existsMainTable(coral::ISchema &dbSchema)
coral::ISchema & storageSchema()
IDatabaseSchema(coral::ISchema &schema)
IMainTable(coral::ISchema &schema)
IDatabaseTable(coral::ISchema &schema)
coral::ISchema & schema()
static bool existsMainTable(coral::ISchema &dbSchema)
ISequenceTable(coral::ISchema &schema)
MappingRawElement & operator==(const MappingRawElement &rhs)
virtual void setAccessPermission(const std::string &principal, bool forWrite)
std::string className(const T &t)