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