Harlinn.Windows 0.1
Loading...
Searching...
No Matches
Harlinn::ODBC::Internal Namespace Reference

Classes

class  DBValue
 

Functions

HODBC_EXPORT void ThrowColumnNullException (SQLSMALLINT columnNumber, const wchar_t *function, const wchar_t *file, int line)
 
HODBC_EXPORT void ThrowException (SQLRETURN sqlReturn, ODBC::HandleType handleType, SQLHANDLE sqlHandle, const wchar_t *function, const wchar_t *file, int line)
 
HODBC_EXPORT void ThrowException (SQLRETURN sqlReturn, ODBC::HandleType handleType, SQLHANDLE sqlHandle)
 
HODBC_EXPORT void ThrowExceptionNoDiagnostic (SQLRETURN sqlReturn, ODBC::HandleType handleType, SQLHANDLE sqlHandle, const wchar_t *function, const wchar_t *file, int line)
 
HODBC_EXPORT void ThrowExceptionNoDiagnostic (SQLRETURN sqlReturn, ODBC::HandleType handleType, SQLHANDLE sqlHandle)
 
Result GetDiagnosticFieldW (ODBC::HandleType handleType, SQLHANDLE handle, SQLSMALLINT recordNumber, SQLSMALLINT diagnosticFieldId, SQLPOINTER diagnosticInfo, SQLSMALLINT diagnosticInfoMaxLength, SQLSMALLINT *diagnosticInfoActualLength)
 
Result GetDiagnosticFieldA (ODBC::HandleType handleType, SQLHANDLE handle, SQLSMALLINT recordNumber, SQLSMALLINT diagnosticFieldId, SQLPOINTER diagnosticInfo, SQLSMALLINT diagnosticInfoMaxLength, SQLSMALLINT *diagnosticInfoActualLength)
 
Result GetDiagnosticRecord (ODBC::HandleType handleType, SQLHANDLE handle, SQLSMALLINT recordNumber, SQLWCHAR *sqlState, SQLINTEGER *nativeError, SQLWCHAR *message, SQLSMALLINT messageMaxLength, SQLSMALLINT *messageActualLength)
 
Result GetDiagnosticRecord (ODBC::HandleType handleType, SQLHANDLE handle, SQLSMALLINT recordNumber, SQLCHAR *sqlState, SQLINTEGER *nativeError, SQLCHAR *message, SQLSMALLINT messageMaxLength, SQLSMALLINT *messageActualLength)
 
DiagnosticRecord GetDiagnosticRecord (ODBC::HandleType handleType, SQLHANDLE handle, SQLSMALLINT recordNumber)
 
SQLLEN GetDiagnosticRecordRecordCount (ODBC::HandleType handleType, SQLHANDLE handle)
 
SqlState GetSqlState (ODBC::HandleType handleType, SQLHANDLE handle, SQLSMALLINT recordNumber=1)
 

Function Documentation

◆ GetDiagnosticFieldA()

Result Harlinn::ODBC::Internal::GetDiagnosticFieldA ( ODBC::HandleType handleType,
SQLHANDLE handle,
SQLSMALLINT recordNumber,
SQLSMALLINT diagnosticFieldId,
SQLPOINTER diagnosticInfo,
SQLSMALLINT diagnosticInfoMaxLength,
SQLSMALLINT * diagnosticInfoActualLength )
inline

◆ GetDiagnosticFieldW()

Result Harlinn::ODBC::Internal::GetDiagnosticFieldW ( ODBC::HandleType handleType,
SQLHANDLE handle,
SQLSMALLINT recordNumber,
SQLSMALLINT diagnosticFieldId,
SQLPOINTER diagnosticInfo,
SQLSMALLINT diagnosticInfoMaxLength,
SQLSMALLINT * diagnosticInfoActualLength )
inline

◆ GetDiagnosticRecord() [1/3]

DiagnosticRecord Harlinn::ODBC::Internal::GetDiagnosticRecord ( ODBC::HandleType handleType,
SQLHANDLE handle,
SQLSMALLINT recordNumber )
inline

◆ GetDiagnosticRecord() [2/3]

Result Harlinn::ODBC::Internal::GetDiagnosticRecord ( ODBC::HandleType handleType,
SQLHANDLE handle,
SQLSMALLINT recordNumber,
SQLCHAR * sqlState,
SQLINTEGER * nativeError,
SQLCHAR * message,
SQLSMALLINT messageMaxLength,
SQLSMALLINT * messageActualLength )
inline

◆ GetDiagnosticRecord() [3/3]

Result Harlinn::ODBC::Internal::GetDiagnosticRecord ( ODBC::HandleType handleType,
SQLHANDLE handle,
SQLSMALLINT recordNumber,
SQLWCHAR * sqlState,
SQLINTEGER * nativeError,
SQLWCHAR * message,
SQLSMALLINT messageMaxLength,
SQLSMALLINT * messageActualLength )
inline

◆ GetDiagnosticRecordRecordCount()

SQLLEN Harlinn::ODBC::Internal::GetDiagnosticRecordRecordCount ( ODBC::HandleType handleType,
SQLHANDLE handle )
inline

◆ GetSqlState()

SqlState Harlinn::ODBC::Internal::GetSqlState ( ODBC::HandleType handleType,
SQLHANDLE handle,
SQLSMALLINT recordNumber = 1 )
inline

◆ ThrowColumnNullException()

HODBC_EXPORT void Harlinn::ODBC::Internal::ThrowColumnNullException ( SQLSMALLINT columnNumber,
const wchar_t * function,
const wchar_t * file,
int line )

◆ ThrowException() [1/2]

HODBC_EXPORT void Harlinn::ODBC::Internal::ThrowException ( SQLRETURN sqlReturn,
ODBC::HandleType handleType,
SQLHANDLE sqlHandle )

◆ ThrowException() [2/2]

HODBC_EXPORT void Harlinn::ODBC::Internal::ThrowException ( SQLRETURN sqlReturn,
ODBC::HandleType handleType,
SQLHANDLE sqlHandle,
const wchar_t * function,
const wchar_t * file,
int line )

◆ ThrowExceptionNoDiagnostic() [1/2]

HODBC_EXPORT void Harlinn::ODBC::Internal::ThrowExceptionNoDiagnostic ( SQLRETURN sqlReturn,
ODBC::HandleType handleType,
SQLHANDLE sqlHandle )

◆ ThrowExceptionNoDiagnostic() [2/2]

HODBC_EXPORT void Harlinn::ODBC::Internal::ThrowExceptionNoDiagnostic ( SQLRETURN sqlReturn,
ODBC::HandleType handleType,
SQLHANDLE sqlHandle,
const wchar_t * function,
const wchar_t * file,
int line )