#include <soci-db2.h>
Public Member Functions | |
void | begin () |
void | clean_up () |
void | commit () |
db2_session_backend (connection_parameters const ¶meters) | |
std::string | get_backend_name () const |
db2_blob_backend * | make_blob_backend () |
db2_rowid_backend * | make_rowid_backend () |
db2_statement_backend * | make_statement_backend () |
void | parseConnectString (std::string const &) |
void | parseKeyVal (std::string const &) |
void | rollback () |
~db2_session_backend () | |
Public Member Functions inherited from soci::details::session_backend | |
virtual bool | get_last_insert_id (session &, std::string const &, long &) |
virtual bool | get_next_sequence_value (session &, std::string const &, long &) |
session_backend () | |
virtual | ~session_backend () |
Public Attributes | |
bool | autocommit |
std::string | dsn |
SQLHANDLE | hDbc |
SQLHANDLE | hEnv |
bool | in_transaction |
std::string | password |
std::string | username |
Definition at line 231 of file soci-db2.h.
db2_session_backend::db2_session_backend | ( | connection_parameters const & | parameters | ) |
Definition at line 80 of file backends/db2/session.cpp.
db2_session_backend::~db2_session_backend | ( | ) |
Definition at line 125 of file backends/db2/session.cpp.
|
virtual |
Implements soci::details::session_backend.
Definition at line 130 of file backends/db2/session.cpp.
void db2_session_backend::clean_up | ( | ) |
Definition at line 194 of file backends/db2/session.cpp.
|
virtual |
Implements soci::details::session_backend.
Definition at line 148 of file backends/db2/session.cpp.
|
inlinevirtual |
Implements soci::details::session_backend.
Definition at line 241 of file soci-db2.h.
|
virtual |
Implements soci::details::session_backend.
Definition at line 214 of file backends/db2/session.cpp.
|
virtual |
Implements soci::details::session_backend.
Definition at line 209 of file backends/db2/session.cpp.
|
virtual |
Implements soci::details::session_backend.
Definition at line 204 of file backends/db2/session.cpp.
void db2_session_backend::parseConnectString | ( | std::string const & | connectString | ) |
Definition at line 66 of file backends/db2/session.cpp.
void db2_session_backend::parseKeyVal | ( | std::string const & | keyVal | ) |
Definition at line 43 of file backends/db2/session.cpp.
|
virtual |
Implements soci::details::session_backend.
Definition at line 171 of file backends/db2/session.cpp.
bool soci::db2_session_backend::autocommit |
Definition at line 255 of file soci-db2.h.
std::string soci::db2_session_backend::dsn |
Definition at line 252 of file soci-db2.h.
SQLHANDLE soci::db2_session_backend::hDbc |
Definition at line 259 of file soci-db2.h.
SQLHANDLE soci::db2_session_backend::hEnv |
Definition at line 258 of file soci-db2.h.
bool soci::db2_session_backend::in_transaction |
Definition at line 256 of file soci-db2.h.
std::string soci::db2_session_backend::password |
Definition at line 254 of file soci-db2.h.
std::string soci::db2_session_backend::username |
Definition at line 253 of file soci-db2.h.