23 #include "RelationalAccess/ISchema.h"
24 #include "RelationalAccess/ITable.h"
25 #include "RelationalAccess/ICursor.h"
26 #include "RelationalAccess/IQuery.h"
27 #include "CoralBase/AttributeList.h"
28 #include "CoralBase/AttributeSpecification.h"
29 #include "CoralBase/Attribute.h"
45 dataTag( ps.getParameter<std::string> (
"tag" ) ),
46 onlineConnect( ps.getParameter<std::string> (
"onlineDB" ) ),
47 onlineAuthentication( ps.getParameter<std::string> (
48 "onlineAuthentication" ) ),
49 bufferConnect( ps.getParameter<std::string> (
"bufferDB" ) ),
54 std::cout <<
" PopCon application for DT DCS data (CCB status) export "
70 std::cout <<
"configure omds DbConnection" << std::endl;
74 std::cout <<
"create omds DbSession" << std::endl;
76 std::cout <<
"open omds session" << std::endl;
78 std::cout <<
"start omds transaction" << std::endl;
83 std::cout <<
"configure buffer DbConnection" << std::endl;
86 std::cout <<
"create buffer DbSession" << std::endl;
88 std::cout <<
"open buffer session" << std::endl;
90 std::cout <<
"start buffer transaction" << std::endl;
98 std::cout <<
"latest DCS data (CCB status) already copied for run: "
114 std::cout <<
"check for new runs since " << lastRun << std::endl;
117 buff_session.
close();
virtual ~DTLVStatusHandler()
DbTransaction & transaction()
void open(const std::string &connectionString, bool readOnly=false)
int commit()
commit transaction.
DbConnectionConfiguration & configuration()
OldContainer m_to_transfer
cond::TagInfo const & tagInfo() const
cond::DbConnection buff_conn
int start(bool readOnly=false)
start transaction
unsigned long long Time_t
cond::DbSession omds_session
cond::DbSession buff_session
DTLVStatusHandler(const edm::ParameterSet &ps)
cond::DbConnection omds_conn
DbSession createSession() const
std::string onlineAuthentication
void setAuthenticationPath(const std::string &p)
cond::ValidityInterval lastInterval
std::string onlineConnect
std::string bufferConnect