1 #ifndef ECALDBCONNECTION_HH 2 #define ECALDBCONNECTION_HH 57 std::cout <<
"Creating statement" << std::endl;
58 return conn->createStatement();
63 std::cout <<
"Creating statement" << std::endl;
64 conn->terminateStatement(stmt);
78 return oracle::occi::Clob(
conn);
81 oracle::occi::Environment*
getEnv()
const {
return env; };
90 oracle::occi::Environment*
env;
91 oracle::occi::Connection*
conn;
92 oracle::occi::Statement*
stmt;
oracle::occi::Environment * env
oracle::occi::Environment * getEnv() const
oracle::occi::Connection * getConn() const
oracle::occi::Connection * conn
void terminateStatement(oracle::occi::Statement *stmt)
EcalDBConnection(std::string host, std::string sid, std::string user, std::string pass, int port=1521) noexcept(false)
oracle::occi::Statement * stmt
oracle::occi::Statement * createStatement()
virtual ~EcalDBConnection() noexcept(false)
oracle::occi::Clob getClobLocator()