DCL 3.7.4
Loading...
Searching...
No Matches
OciQuery.cpp File Reference
#include <dcl/Config.h>
#include <oci.h>
#include <stdlib.h>
#include <string.h>
#include <dcl/Object.h>
#include <dcl/size_t.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.

Classes

struct  __TYPESIZE

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 __DCL_TRACE5_N(fmt, arg1, arg2, arg3, arg4, arg5)
#define __DCL_TRACE6_N(fmt, arg1, arg2, arg3, arg4, arg5, arg6)
#define __SET_ERROR_HANDLE(_error, _status, _OCIError)
#define __SET_ERROR_NORESET(_error, _status, _OCIError)
#define __SET_ERROR_MSG(_msg)

Typedefs

typedef struct __TYPESIZE TYPESIZE

Functions

 IMPLEMENT_CLASSINFO (OciQuery, SQL::Query) OciQuery

Macro Definition Documentation

◆ __DCL_TRACE0_N

#define __DCL_TRACE0_N ( fmt)

Definition at line 35 of file OciQuery.cpp.

◆ __DCL_TRACE1_N

#define __DCL_TRACE1_N ( fmt,
arg )

Definition at line 36 of file OciQuery.cpp.

◆ __DCL_TRACE2_N

#define __DCL_TRACE2_N ( fmt,
arg1,
arg2 )

Definition at line 37 of file OciQuery.cpp.

◆ __DCL_TRACE3_N

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

Definition at line 38 of file OciQuery.cpp.

◆ __DCL_TRACE4_N

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

Definition at line 39 of file OciQuery.cpp.

◆ __DCL_TRACE5_N

#define __DCL_TRACE5_N ( fmt,
arg1,
arg2,
arg3,
arg4,
arg5 )

Definition at line 40 of file OciQuery.cpp.

◆ __DCL_TRACE6_N

#define __DCL_TRACE6_N ( fmt,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6 )

Definition at line 41 of file OciQuery.cpp.

◆ __SET_ERROR_HANDLE

#define __SET_ERROR_HANDLE ( _error,
_status,
_OCIError )
Value:
conn()->setErrorHandle(_error, _status, _OCIError, \
true, __THIS_FILE__, __LINE__)
#define __THIS_FILE__
Definition _trace.h:14

Definition at line 49 of file OciQuery.cpp.

49#define __SET_ERROR_HANDLE(_error, _status, _OCIError) \
50 conn()->setErrorHandle(_error, _status, _OCIError, \
51 true, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_MSG

#define __SET_ERROR_MSG ( _msg)
Value:
conn()->setErrorMessage(_msg, __THIS_FILE__, __LINE__)

Definition at line 55 of file OciQuery.cpp.

55#define __SET_ERROR_MSG(_msg) \
56 conn()->setErrorMessage(_msg, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_NORESET

#define __SET_ERROR_NORESET ( _error,
_status,
_OCIError )
Value:
conn()->setErrorHandle(_error, _status, _OCIError, \
false, __THIS_FILE__, __LINE__)

Definition at line 52 of file OciQuery.cpp.

52#define __SET_ERROR_NORESET(_error, _status, _OCIError) \
53 conn()->setErrorHandle(_error, _status, _OCIError, \
54 false, __THIS_FILE__, __LINE__)

◆ __TRACE_THIS

#define __TRACE_THIS   0

Definition at line 25 of file OciQuery.cpp.

Typedef Documentation

◆ TYPESIZE

typedef struct __TYPESIZE TYPESIZE

Function Documentation

◆ IMPLEMENT_CLASSINFO()

IMPLEMENT_CLASSINFO ( OciQuery ,
SQL::Query  )

Definition at line 58 of file OciQuery.cpp.

61 : Query(_connHandle)
62{
63 Query::__placeholder = L':';
64
65 __stmt = NULL;
66 __stmtType = __OCI_STMT_TYPE_UNKNOWN;
67
68 __fieldsBuffer = NULL;
69
70 __params = NULL;
71 __fields = NULL;
72}
#define NULL
Definition Config.h:312
#define __OCI_STMT_TYPE_UNKNOWN
Definition OciQuery.h:6