#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 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); } |