1 #ifndef ECALDBCONNECTION_HH
2 #define ECALDBCONNECTION_HH
43 std::cout <<
"Creating statement" << std::endl;
44 return conn->createStatement();
48 std::cout <<
"Creating statement" << std::endl;
49 conn->terminateStatement(stmt);
63 oracle::occi::Environment*
getEnv()
const {
return env; };
71 oracle::occi::Environment*
env;
72 oracle::occi::Connection*
conn;
73 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()