Logo ROOT   6.12/07
Reference Guide
Macros
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"
Include dependency graph for TOracleServer.cxx:

Macros

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

Macro Definition Documentation

◆ CatchError

#define CatchError (   method)
Value:
catch (SQLException &oraex) { \
SetError(oraex.getErrorCode(), oraex.getMessage().c_str(), method); \
}

Definition at line 75 of file TOracleServer.cxx.

◆ CheckConnect

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

Definition at line 67 of file TOracleServer.cxx.