Definition at line 12 of file RPCDBCom.h.
coral::ISession * RPCDBCom::connect |
( |
const std::string & |
connectionString, |
|
|
const std::string & |
userName, |
|
|
const std::string & |
password |
|
) |
| |
|
protected |
Definition at line 22 of file RPCDBCom.cc.
References autoCondModifiers::connectionString, instance, m_connection, EcalCondDBWriter_cfi::password, G2GainsValidator::session, and EcalCondDBWriter_cfi::userName.
Referenced by RPCFw::createFEB(), RPCFw::createGAS(), RPCFw::createIDMAP(), RPCFw::createIMON(), RPCFw::createMix(), RPCFw::createSTATUS(), RPCFw::createT(), RPCFw::createUXC(), RPCFw::createVMON(), and o2o_db_cfgmap.DbManagerDAQ::update_hashmap().
26 ctx.loadComponent(
"CORAL/RelationalPlugins/oracle");
27 coral::IHandle<coral::IRelationalDomain> iHandle =
28 ctx.query<coral::IRelationalDomain>(
"CORAL/RelationalPlugins/oracle");
29 if (!iHandle.isValid()) {
30 throw std::runtime_error(
"Could not load the OracleAccess plugin");
32 std::pair<std::string, std::string> connectionAndSchema = iHandle->decodeUserConnectionString(
connectionString);
35 m_connection = iHandle->newConnection(connectionAndSchema.first);
static PFTauRenderPlugin instance
coral::IConnection * m_connection