12 #ifndef ROOT_TOracleResult
13 #define ROOT_TOracleResult
19 #if !defined(__CINT__)
28 namespace oracle {
namespace occi {
38 class TOracleResult :
public TSQLResult {
41 oracle::occi::Connection*fConn;
42 oracle::occi::Statement *fStmt;
43 oracle::occi::ResultSet *fResult;
44 std::vector<oracle::occi::MetaData> *fFieldInfo;
49 std::string fNameBuffer;
51 Bool_t IsValid(Int_t field);
53 TOracleResult(
const TOracleResult&);
54 TOracleResult &operator=(
const TOracleResult&);
57 void initResultSet(oracle::occi::Statement *stmt);
61 TOracleResult(oracle::occi::Connection *conn, oracle::occi::Statement *stmt);
62 TOracleResult(oracle::occi::Connection *conn,
const char *tableName);
65 void Close(Option_t *opt=
"");
66 Int_t GetFieldCount();
67 const char *GetFieldName(Int_t field);
68 virtual Int_t GetRowCount()
const;
71 Int_t GetUpdateCount() {
return fUpdateCount; }
73 ClassDef(TOracleResult,0)