1 #ifndef ConditionDatabase_ConnectionPool_h
2 #define ConditionDatabase_ConnectionPool_h
9 #include "CoralBase/MessageStream.h"
16 class IConnectionServiceConfiguration;
26 namespace persistency {
50 bool writeCapable=
false );
53 bool writeCapable=
false,
55 void configure( coral::IConnectionServiceConfiguration& coralConfig);
boost::shared_ptr< coral::ISessionProxy > createCoralSession(const std::string &connectionString, bool writeCapable=false)
void setParameters(const edm::ParameterSet &connectionPset)
void setAuthenticationSystem(int authSysCode)
Session createSession(const std::string &connectionString, bool writeCapable=false, BackendType backType=DEFAULT_DB)
void setLogging(bool flag)
bool isLoggingEnabled() const
void setMessageVerbosity(coral::MsgLevel level)
coral::MsgLevel m_messageLevel
std::map< std::string, int > m_dbTypes
static constexpr BackendType DEFAULT_DB
Session createReadOnlySession(const std::string &connectionString, const std::string &transactionId)
cond::CoralServiceManager * m_pluginManager
void setAuthenticationPath(const std::string &p)