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 27 of file RPCDBCom.cc.
References instance, m_connection, and dataDML::session.
Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), Vispa.Views.PropertyView.BooleanProperty::__init__(), Vispa.Gui.FindDialog.FindDialog::_addScript(), Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), Vispa.Main.Application.Application::_connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), Vispa.Views.PropertyView.PropertyView::append(), Vispa.Views.PropertyView.PropertyView::appendAddRow(), Vispa.Main.Application.Application::createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), RPCFw::createFEB(), RPCFw::createGAS(), RPCFw::createIDMAP(), RPCFw::createIMON(), Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), RPCFw::createMix(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), RPCFw::createSTATUS(), RPCFw::createT(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), RPCFw::createUXC(), RPCFw::createVMON(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Main.SplitterTab.SplitterTab::setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), o2o_db_cfgmap.DbManagerDAQ::update_hashmap(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
32 ctx.loadComponent(
"CORAL/RelationalPlugins/oracle");
33 coral::IHandle<coral::IRelationalDomain> iHandle=ctx.query<coral::IRelationalDomain>(
"CORAL/RelationalPlugins/oracle");
34 if ( ! iHandle.isValid() ) {
35 throw std::runtime_error(
"Could not load the OracleAccess plugin" );
37 std::pair<std::string, std::string> connectionAndSchema = iHandle->decodeUserConnectionString( connectionString );
40 m_connection = iHandle->newConnection( connectionAndSchema.first );
48 session->startUserSession( userName, password );
static PFTauRenderPlugin instance
coral::IConnection * m_connection