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

Go to the source code of this file.

Classes

struct  STMT_PATTERN

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)

Enumerations

enum  StmtType { StmtOther , StmtTransBegin , StmtTransEnd }

Functions

 IMPLEMENT_CLASSINFO (OciConnection, SQL::Connection) OciConnection

Macro Definition Documentation

◆ __DCL_TRACE0_N

#define __DCL_TRACE0_N ( fmt)

Definition at line 28 of file OciConnection.cpp.

◆ __DCL_TRACE1_N

#define __DCL_TRACE1_N ( fmt,
arg )

Definition at line 29 of file OciConnection.cpp.

◆ __DCL_TRACE2_N

#define __DCL_TRACE2_N ( fmt,
arg1,
arg2 )

Definition at line 30 of file OciConnection.cpp.

◆ __DCL_TRACE3_N

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

Definition at line 31 of file OciConnection.cpp.

◆ __DCL_TRACE4_N

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

Definition at line 32 of file OciConnection.cpp.

◆ __SET_ERROR

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

Definition at line 41 of file OciConnection.cpp.

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

◆ __TRACE_THIS

#define __TRACE_THIS   0

Definition at line 20 of file OciConnection.cpp.

Enumeration Type Documentation

◆ StmtType

enum StmtType
Enumerator
StmtOther 
StmtTransBegin 
StmtTransEnd 

Definition at line 484 of file OciConnection.cpp.

484 {
485 StmtOther,
488};
@ StmtTransEnd
@ StmtOther
@ StmtTransBegin

Function Documentation

◆ IMPLEMENT_CLASSINFO()

IMPLEMENT_CLASSINFO ( OciConnection ,
SQL::Connection  )

Definition at line 45 of file OciConnection.cpp.

48 :Connection(_serverTitle)
49{
50 Connection::__canTransact = true;
51
52 __lastStatus = OCI_SUCCESS;
53 __lastError = NULL;
54
55 __env = NULL;
56 __error = NULL;
57 __error2 = NULL;
58
59 __server = NULL;
60 __svcctx = NULL;
61 __session = NULL;
62 __trans = NULL;
63
64 __serverAttached = false;
65 __sessionStarted = false;
66}
#define NULL
Definition Config.h:340