1 #ifndef CondCore_CondDB_PayloadReader_h 2 #define CondCore_CondDB_PayloadReader_h 21 namespace persistency {
55 template <
typename T> std::shared_ptr<T>
fetch(
const cond::Hash& payloadHash );
64 std::shared_ptr<T> ret;
74 #endif // CondCore_CondDB_PayloadReader_h
void start(bool readOnly=true)
Transaction & transaction()
std::string connectionString()
std::shared_ptr< T > fetch(const cond::Hash &payloadHash)
static const char *const PRODUCTION_DB
ConnectionPool & connection()
std::shared_ptr< ConnectionPool > m_connection
PayloadReader & operator=(const PayloadReader &rhs)
std::shared_ptr< T > fetchPayload(const cond::Hash &payloadHash)