TOracleServer.cxx File Reference

#include "TOracleServer.h"
#include "TOracleResult.h"
#include "TOracleStatement.h"
#include "TSQLColumnInfo.h"
#include "TSQLTableInfo.h"
#include "TUrl.h"
#include "TList.h"
#include "TObjString.h"

Go to the source code of this file.

Defines

#define CheckConnect(method, res)
#define CatchError(method)


Define Documentation

#define CatchError ( method   ) 

Value:

catch (SQLException &oraex) {                     \
      SetError(oraex.getErrorCode(), oraex.getMessage().c_str(), method); \
   }

Definition at line 72 of file TOracleServer.cxx.

Referenced by TOracleServer::Close(), TOracleServer::Commit(), TOracleServer::Exec(), TOracleServer::Query(), TOracleServer::Rollback(), TOracleServer::Statement(), and TOracleServer::TOracleServer().

#define CheckConnect ( method,
res   ) 

Value:

ClearError();                                     \
      if (!IsConnected()) {                             \
         SetError(-1,"Oracle database is not connected",method); \
         return res;                                    \
      }

Definition at line 64 of file TOracleServer.cxx.


Generated on Tue Jul 5 16:08:50 2011 for ROOT_528-00b_version by  doxygen 1.5.1