1 #ifndef CondCore_CondDB_SessionImpl_h 2 #define CondCore_CondDB_SessionImpl_h 9 #include "RelationalAccess/ConnectionService.h" 10 #include "RelationalAccess/ISessionProxy.h" 23 namespace persistency {
46 SessionImpl(std::shared_ptr<coral::ISessionProxy>& session,
std::set< std::string > lockedTags
std::shared_ptr< coral::ISessionProxy > coralSession
bool isTransactionActive(bool deep=true) const
void openGTDb(FailureOnOpeningPolicy policy=THROW)
std::string connectionString
void openIovDb(FailureOnOpeningPolicy policy=THROW)
std::string principalName
std::unique_ptr< IIOVSchema > iovSchemaHandle
std::unique_ptr< IRunInfoSchema > runInfoSchemaHandle
std::recursive_mutex transactionMutex
std::unique_lock< std::recursive_mutex > transactionLock
std::unique_ptr< IGTSchema > gtSchemaHandle
virtual void rollback()=0
void startTransaction(bool readOnly=true)
virtual bool isActive()=0
void rollbackTransaction()
IRunInfoSchema & runInfoSchema()
std::unique_ptr< ITransaction > transaction