wrap OCIEnv and OCISvcCtx together More...
#include <ocipl.h>
Public Member Functions | |
OciConnection (OCIEnv *envh, OCISvcCtx *ctx) | |
void | commit (ub4 flags=OCI_DEFAULT) |
void | rollback (ub4 flags=OCI_DEFAULT) |
void | cancel () |
cancel a pending OCI call in the worker thread | |
operator OCIError * () | |
Static Public Member Functions | |
static OciConnection * | CreateFromESqlContext (void *context) |
Public Attributes | |
OciEnv | _env |
OciContext | _ctx |
Private Member Functions | |
OciConnection (const OciConnection &) |
wrap OCIEnv and OCISvcCtx together
Definition at line 1096 of file ocipl.h.
OCIPL::OciConnection::OciConnection | ( | OCIEnv * | envh, |
OCISvcCtx * | ctx | ||
) | [inline] |
OCIPL::OciConnection::OciConnection | ( | const OciConnection & | ) | [private] |
void OCIPL::OciConnection::cancel | ( | ) |
cancel a pending OCI call in the worker thread
Definition at line 353 of file ocipl.cpp.
References _ctx, _env, OCIPL::OciEnv::_errh, and OCIPL::oci_check_error().
{ sword res = OCIBreak(_ctx, _env._errh); oci_check_error(_env._errh, res); }
void OCIPL::OciConnection::commit | ( | ub4 | flags = OCI_DEFAULT ) |
[inline] |
static OciConnection* OCIPL::OciConnection::CreateFromESqlContext | ( | void * | context ) | [static] |
OCIPL::OciConnection::operator OCIError * | ( | ) | [inline] |
void OCIPL::OciConnection::rollback | ( | ub4 | flags = OCI_DEFAULT ) |
[inline] |
Definition at line 1126 of file ocipl.h.
Referenced by cancel(), and OCIPL::OciLob::OciLob().