|
Public Methods |
| dsOCI (const char *ORASID, const char *username=0, const char *passwd=0) |
virtual | ~dsOCI () |
virtual void | Connect (const char *ORASID, const char *username, const char *password, const int flags=OCI_DEFAULT) |
virtual void | Cleanup () |
virtual void | Execute (void *stmtp, int PrefetchRows=0, int CommitOnSuccess=false) |
virtual OCIStmt * | PrepareCall (const char *theQuery) |
virtual void | ReleaseCall (OCIStmt *stmtp) |
int | Fetch (OCIStmt *stmtp, int nrows=1) |
void | Commit () |
void | Rollback () |
OCIBind * | BindCursor (OCIStmt *stmthp, char *ParamName, OCIStmt **cursor_stmthp) |
OCIBind * | BindParam (OCIStmt *stmthp, char *ParamName, ub2 ValueType, dvoid *valuep, ub4 ValueSize) |
OCIBind * | BindParam (OCIStmt *stmthp, char *ParamName, ub2 ValueType, dvoid *valuep, ub4 ValueSize, short *isNull) |
OCIDefine * | DefineByPos (OCIStmt *stmthp, int pos, ub2 ValueType, dvoid *valuep, sb4 value_sz) |
OCIDefine * | DefineByPos (OCIStmt *stmthp, int pos, ub2 ValueType, dvoid *valuep, sb4 value_sz, short *isNull) |
void | Describe (OCIStmt *stmthp) |
OCIBind * | BindParam (OCIStmt *stmthp, char *ParamName, int value) |
OCIBind * | BindParam (OCIStmt *stmthp, char *ParamName, char *value, int size) |
template<class TValue> OCIBind * | BindParam (OCIStmt *stmthp, char *ParamName, ub2 ValueType, TValue valuep, ub4 ValueSize) |
template<class TValue> OCIDefine * | DefineByPos (OCIStmt *stmthp, int pos, ub2 ValueType, TValue valuep, sb4 value_sz) |
template<class THdlVoid> void | HandleAlloc (int hdlType, THdlVoid hdlPtr) |
template<class THdlVoid> void | HandleFree (int hdlType, THdlVoid hdlPtr) |
template<class THdlVoid, class TAttrVoid> void | AttrSet (ub4 attrType, THdlVoid hdl, ub4 hdlType, TAttrVoid attrPtr, ub4 attrSize) |
template<class THdlVoid> void | AttrSet (ub4 attrType, THdlVoid hdl, ub4 hdlType, const char *attrPtr) |
template<class THdlVoid, class TAttrVoid> void | AttrGet (ub4 attrType, THdlVoid hdl, ub4 hdlType, TAttrVoid attrPtr, ub4 *attrSize) |
template<class THdlVoid> int | AttrGet (ub4 attrType, THdlVoid hdl, ub4 hdlType) |
Protected Methods |
void | HandleAlloc (int hdlType, dvoid **hdlPtr) |
void | HandleFree (int hdlType, dvoid *hdlPtr) |
void | AttrSet (ub4 attrType, dvoid *hdl, ub4 hdlType, dvoid *attrPtr, ub4 attrSize) |
void | AttrSet (ub4 attrType, dvoid *hdl, ub4 hdlType, const char *attrPtr) |
void | AttrGet (ub4 attrType, dvoid *hdl, ub4 hdlType, dvoid *attrPtr, ub4 *attrSize) |
int | AttrGet (ub4 attrType, dvoid *hdl, ub4 hdlType) |
sword | check_error (int line, sword status) |