00001 #include "CondCore/DBCommon/interface/TechnologyProxy.h" 00002 namespace cond { 00003 class OracleProxy: public TechnologyProxy { 00004 public: 00005 OracleProxy(){} 00006 ~OracleProxy(){} 00007 void initialize(const std::string &userconnect, const DbConnection&){ 00008 m_userconnect = userconnect; 00009 } 00010 std::string getRealConnectString() const{ return m_userconnect;} 00011 bool isTransactional() const { return true;} 00012 std::string m_userconnect; 00013 }; 00014 }//ns cond 00015 00016 00017 #include "CondCore/DBCommon/interface/TechnologyProxyFactory.h" 00018 DEFINE_EDM_PLUGIN(cond::TechnologyProxyFactory,cond::OracleProxy,"oracle");