Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 <sys/time.h>
#include <occi.h>
Include dependency graph for TOracleServer.cxx:

Namespaces

namespace  ROOT
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 

Macros

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

Macro Definition Documentation

◆ CatchError

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

Definition at line 78 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 70 of file TOracleServer.cxx.