Go to the documentation of this file.00001 #ifndef ConnectionManager_hh_included
00002 #define ConnectionManager_hh_included
00003
00004 #include <string>
00005
00006 namespace oracle {
00007 namespace occi {
00008 class Connection;
00009 class Environment;
00010 class Statement;
00011 }
00012 }
00013
00014 class ConnectionManager {
00015 public:
00016 ConnectionManager();
00017 bool connect();
00018 oracle::occi::Statement* getStatement(const std::string& query);
00019 void disconnect();
00020 private:
00021 oracle::occi::Environment *env;
00022 oracle::occi::Connection *conn;
00023 };
00024
00025 #endif