CMS 3D CMS Logo

ODCCSConfig.cc File Reference

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

Go to the source code of this file.

Defines

#define MY_SQL_NULL   numeric_limits<int>::quiet_NaN()
#define SET_INT(statement, paramNum, paramVal)   if( paramVal != MY_SQL_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_SQL_NULL   numeric_limits<int>::quiet_NaN()

Definition at line 8 of file ODCCSConfig.cc.

Referenced by ODCCSConfig::clear().

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

Definition at line 9 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 10 of file ODCCSConfig.cc.

Referenced by ODCCSConfig::writeDB().


Generated on Tue Jun 9 17:54:39 2009 for CMSSW by  doxygen 1.5.4