37 bool Connect(SQLHENV henv,
const WCHAR* connectionString);
44 bool Execute(
const WCHAR* query);
62 bool BindParam(INT32 paramIndex,
bool* value);
63 bool BindParam(INT32 paramIndex,
float* value);
64 bool BindParam(INT32 paramIndex,
double* value);
65 bool BindParam(INT32 paramIndex, INT8* value);
66 bool BindParam(INT32 paramIndex, INT16* value);
67 bool BindParam(INT32 paramIndex, INT32* value);
68 bool BindParam(INT32 paramIndex, INT64* value);
69 bool BindParam(INT32 paramIndex, TIMESTAMP_STRUCT* value);
71 bool BindParam(INT32 paramIndex,
const BYTE* bin, INT32 size);
73 bool BindCol(INT32 columnIndex,
bool* value);
74 bool BindCol(INT32 columnIndex,
float* value);
75 bool BindCol(INT32 columnIndex,
double* value);
76 bool BindCol(INT32 columnIndex, INT8* value);
77 bool BindCol(INT32 columnIndex, INT16* value);
78 bool BindCol(INT32 columnIndex, INT32* value);
79 bool BindCol(INT32 columnIndex, INT64* value);
80 bool BindCol(INT32 columnIndex, TIMESTAMP_STRUCT* value);
81 bool BindCol(INT32 columnIndex, WCHAR* str, INT32 size, SQLLEN* index);
82 bool BindCol(INT32 columnIndex,
BYTE* bin, INT32 size, SQLLEN* index);
93 bool BindParam(SQLUSMALLINT paramIndex, SQLSMALLINT cType, SQLSMALLINT sqlType, SQLULEN len, SQLPOINTER ptr, SQLLEN* index);
96 bool BindCol(SQLUSMALLINT columnIndex, SQLSMALLINT cType, SQLULEN len, SQLPOINTER value, SQLLEN* index);
99 void HandleError(SQLRETURN ret, SQLSMALLINT errMsgBuffLen = 0, SQLWCHAR* errMsgOut = NULL, SQLSMALLINT* errMsgLenOut = NULL);
100 void HandleError(SQLRETURN ret, SQLSMALLINT hType, SQLHANDLE handle, SQLSMALLINT errMsgBuffLen = 0, SQLWCHAR* errMsgOut = NULL, SQLSMALLINT* errMsgLenOut = NULL);
101 void ErrorMsgFileLogging(
const SQLWCHAR* errMsg, SQLSMALLINT errMsgLen,
const std::wstring& filePath);
void Push(JNetDBConn *connection, bool isDisconnected=false, bool tryToConnect=false, const WCHAR *connectionString=NULL)
Definition JNetDB.cpp:525
void HandleError(SQLRETURN ret, SQLSMALLINT errMsgBuffLen=0, SQLWCHAR *errMsgOut=NULL, SQLSMALLINT *errMsgLenOut=NULL)
Definition JNetDB.cpp:319