1 #ifndef CondCore_CondDB_PayloadReader_h
2 #define CondCore_CondDB_PayloadReader_h
21 namespace persistency {
25 static constexpr
const char*
const PRODUCTION_DB =
"oracle://cms_orcon_adg/CMS_CONDITIONS";
63 std::shared_ptr<T>
ret;
74 #endif // CondCore_CondDB_PayloadReader_h
tuple ret
prodAgent to be discontinued
void start(bool readOnly=true)
std::unique_ptr< T > fetchPayload(const cond::Hash &payloadHash)
Transaction & transaction()
static constexpr const char *const PRODUCTION_DB
std::string connectionString()
std::shared_ptr< T > fetch(const cond::Hash &payloadHash)
ConnectionPool & connection()
std::shared_ptr< ConnectionPool > m_connection
PayloadReader & operator=(const PayloadReader &rhs)