3 #include "RelationalAccess/ConnectionService.h"
4 #include "CoralBase/Exception.h"
5 #include "RelationalAccess/ISessionProxy.h"
6 #include "RelationalAccess/AccessMode.h"
10 : m_svc(std::make_unique<coral::ConnectionService>()), m_dbconfig(std::make_unique<
lumi::
DBConfig>(*m_svc)) {
12 if (!authpath.empty()) {
20 std::unique_lock<std::mutex>
lock(m_mutex);
22 return ISessionProxyPtr(std::unique_ptr<coral::ISessionProxy>(m_svc->connect(connectstring, coral::ReadOnly)),
T getUntrackedParameter(std::string const &, T const &) const
ISessionProxyPtr connectReadOnly(const std::string &connectstring)
std::unique_ptr< lumi::DBConfig > m_dbconfig
DBService(const edm::ParameterSet &iConfig)