DCL 4.0
Loading...
Searching...
No Matches
OciQuery.cpp File Reference
#include <dcl/Config.h>
#include <oci.h>
#include <stdlib.h>
#include <dcl/Object.h>
#include <dcl/SQLCore.h>
#include "OciConnection.h"
#include "OciQuery.h"
#include "OciField.h"
#include "OciParam.h"

Go to the source code of this file.

Macros

#define __TRACE_THIS   0
#define __DCL_TRACE0_N(fmt)
#define __DCL_TRACE1_N(fmt, arg)
#define __DCL_TRACE2_N(fmt, arg1, arg2)
#define __DCL_TRACE3_N(fmt, arg1, arg2, arg3)
#define __DCL_TRACE4_N(fmt, arg1, arg2, arg3, arg4)
#define __SET_ERROR(_error, status, pError)
#define __SET_ERROR_NORESET(_error, status, pError)

Functions

 IMPLEMENT_CLASSINFO (OciQuery, SQL::Query) OciQuery

Macro Definition Documentation

◆ __DCL_TRACE0_N

#define __DCL_TRACE0_N ( fmt)

Definition at line 28 of file OciQuery.cpp.

◆ __DCL_TRACE1_N

#define __DCL_TRACE1_N ( fmt,
arg )

Definition at line 29 of file OciQuery.cpp.

◆ __DCL_TRACE2_N

#define __DCL_TRACE2_N ( fmt,
arg1,
arg2 )

Definition at line 30 of file OciQuery.cpp.

◆ __DCL_TRACE3_N

#define __DCL_TRACE3_N ( fmt,
arg1,
arg2,
arg3 )

Definition at line 31 of file OciQuery.cpp.

◆ __DCL_TRACE4_N

#define __DCL_TRACE4_N ( fmt,
arg1,
arg2,
arg3,
arg4 )

Definition at line 32 of file OciQuery.cpp.

◆ __SET_ERROR

#define __SET_ERROR ( _error,
status,
pError )
Value:
conn()->setErrorStatus(_error, status, pError, \
true, __THIS_FILE__, __LINE__)
#define __THIS_FILE__
Definition _trace.h:14

Definition at line 41 of file OciQuery.cpp.

41#define __SET_ERROR(_error, status, pError) \
42 conn()->setErrorStatus(_error, status, pError, \
43 true, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_NORESET

#define __SET_ERROR_NORESET ( _error,
status,
pError )
Value:
conn()->setErrorStatus(_error, status, pError, \
false, __THIS_FILE__, __LINE__)

Definition at line 45 of file OciQuery.cpp.

45#define __SET_ERROR_NORESET(_error, status, pError) \
46 conn()->setErrorStatus(_error, status, pError, \
47 false, __THIS_FILE__, __LINE__)

◆ __TRACE_THIS

#define __TRACE_THIS   0

Definition at line 20 of file OciQuery.cpp.

Function Documentation

◆ IMPLEMENT_CLASSINFO()

IMPLEMENT_CLASSINFO ( OciQuery ,
SQL::Query  )

Definition at line 49 of file OciQuery.cpp.

52 : Query(_connHandle)
53{
54 __stmt = NULL;
55 __stmtType = _OCI_STMT_TYPE_UNKNOWN;
56
57 __fields = NULL;
58 __params = NULL;
59 Query::__placeholder = L':';
60}
#define NULL
Definition Config.h:340
#define _OCI_STMT_TYPE_UNKNOWN
Definition OciQuery.h:6