An ODBC handle (smart pointer), bound to a connection.
More...
#include <Handle.h>
An ODBC handle (smart pointer), bound to a connection.
ODBCHandle::ODBCHandle |
( |
| ) |
|
ODBCHandle::~ODBCHandle |
( |
| ) |
|
|
virtual |
void ODBCHandle::Allocate |
( |
SQLSMALLINT |
type, |
|
|
SQLHANDLE |
hconn |
|
) |
| |
allocates a handle, fails if a handle has been previously allocated
std::vector< std::wstring > ODBCHandle::GetDiagFields |
( |
SQLHANDLE |
handle, |
|
|
int |
type, |
|
|
int |
diagidentifier |
|
) |
| |
|
static |
std::vector<std::wstring> AppSecInc::Databases::ODBC::ODBCHandle::GetDiagFields |
( |
int |
diagidentifier | ) |
const |
|
inline |
get an array of messages on the current ODBC handle
get diagnostics messages (cleaned up SQL_DIAG_MESSAGE_TEXT)
get an array of text messages on the current ODBC handle (cleaned up SQL_DIAG_MESSAGE_TEXT)
std::wstring ODBCHandle::GetError |
( |
SQLHANDLE |
handle, |
|
|
int |
type |
|
) |
| |
|
static |
get the text representation of the errors on an ODBC handle
std::wstring AppSecInc::Databases::ODBC::ODBCHandle::GetError |
( |
| ) |
const |
|
inline |
get the text representation of the errors on an ODBC handle
std::vector< ODBCError > ODBCHandle::GetErrors |
( |
SQLHANDLE |
handle, |
|
|
int |
type |
|
) |
| |
|
static |
get an array of errors on an ODBC handle
std::vector<ODBCError> AppSecInc::Databases::ODBC::ODBCHandle::GetErrors |
( |
| ) |
const |
|
inline |
get an array of errors on the current ODBC handle
SQLHANDLE AppSecInc::Databases::ODBC::ODBCHandle::Peek |
( |
| ) |
const |
|
inline |
SQLHANDLE AppSecInc::Databases::ODBC::ODBCHandle::PeekConnection |
( |
| ) |
const |
|
inline |
returns the connection handle
void ODBCHandle::Release |
( |
| ) |
|
releases the previously allocated handle, fails if no handle has been allocated
SQLHANDLE AppSecInc::Databases::ODBC::ODBCHandle::_handle |
|
protected |
SQLHANDLE AppSecInc::Databases::ODBC::ODBCHandle::_hconn |
|
protected |
SQLSMALLINT AppSecInc::Databases::ODBC::ODBCHandle::_type |
|
protected |
The documentation for this class was generated from the following files: