CMS 3D CMS Logo

Defines

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/OnlineDB/EcalCondDB/src/ODCCSConfig.cc File Reference

#include <stdexcept>
#include <string>
#include <string.h>
#include <cstdlib>
#include "OnlineDB/Oracle/interface/Oracle.h"
#include "OnlineDB/EcalCondDB/interface/ODCCSConfig.h"
#include <limits>

Go to the source code of this file.

Defines

#define MY_NULL   16777215
#define SET_INT(statement, paramNum, paramVal)   if( paramVal != MY_NULL ) { statement->setInt(paramNum, paramVal); } else { statement->setNull(paramNum,OCCINUMBER); }
#define SET_STRING(statement, paramNum, paramVal)   if( ! paramVal.empty() ) { statement->setString(paramNum, paramVal); } else { statement->setNull(paramNum,OCCICHAR); }

Define Documentation

#define MY_NULL   16777215

Definition at line 12 of file ODCCSConfig.cc.

Referenced by ODCCSConfig::clear().

#define SET_INT (   statement,
  paramNum,
  paramVal 
)    if( paramVal != MY_NULL ) { statement->setInt(paramNum, paramVal); } else { statement->setNull(paramNum,OCCINUMBER); }

Definition at line 13 of file ODCCSConfig.cc.

Referenced by ODCCSConfig::writeDB().

#define SET_STRING (   statement,
  paramNum,
  paramVal 
)    if( ! paramVal.empty() ) { statement->setString(paramNum, paramVal); } else { statement->setNull(paramNum,OCCICHAR); }

Definition at line 14 of file ODCCSConfig.cc.

Referenced by ODCCSConfig::writeDB().