#include <soci-odbc.h>
Public Types | |
enum | database_product { prod_uninitialized, prod_firebird, prod_mssql, prod_mysql, prod_oracle, prod_postgresql, prod_sqlite, prod_unknown = -1 } |
Public Member Functions | |
virtual void | begin () |
void | clean_up () |
virtual void | commit () |
virtual std::string | get_backend_name () const |
std::string | get_connection_string () const |
database_product | get_database_product () |
virtual bool | get_last_insert_id (session &s, std::string const &table, long &value) |
virtual bool | get_next_sequence_value (session &s, std::string const &sequence, long &value) |
virtual odbc_blob_backend * | make_blob_backend () |
virtual odbc_rowid_backend * | make_rowid_backend () |
virtual odbc_statement_backend * | make_statement_backend () |
odbc_session_backend (connection_parameters const ¶meters) | |
void | reset_transaction () |
virtual void | rollback () |
~odbc_session_backend () | |
Public Member Functions inherited from soci::details::session_backend | |
session_backend () | |
virtual | ~session_backend () |
Public Attributes | |
std::string | connection_string_ |
SQLHDBC | hdbc_ |
SQLHENV | henv_ |
database_product | product_ |
Definition at line 269 of file soci-odbc.h.
Enumerator | |
---|---|
prod_uninitialized | |
prod_firebird | |
prod_mssql | |
prod_mysql | |
prod_oracle | |
prod_postgresql | |
prod_sqlite | |
prod_unknown |
Definition at line 294 of file soci-odbc.h.
odbc_session_backend::odbc_session_backend | ( | connection_parameters const & | parameters | ) |
Definition at line 19 of file backends/odbc/session.cpp.
odbc_session_backend::~odbc_session_backend | ( | ) |
Definition at line 93 of file backends/odbc/session.cpp.
|
virtual |
Implements soci::details::session_backend.
Definition at line 98 of file backends/odbc/session.cpp.
void odbc_session_backend::clean_up | ( | ) |
Definition at line 225 of file backends/odbc/session.cpp.
|
virtual |
Implements soci::details::session_backend.
Definition at line 109 of file backends/odbc/session.cpp.
|
inlinevirtual |
Implements soci::details::session_backend.
Definition at line 284 of file soci-odbc.h.
|
inline |
Definition at line 310 of file soci-odbc.h.
odbc_session_backend::database_product odbc_session_backend::get_database_product | ( | ) |
Definition at line 265 of file backends/odbc/session.cpp.
|
virtual |
Reimplemented from soci::details::session_backend.
Definition at line 172 of file backends/odbc/session.cpp.
|
virtual |
Reimplemented from soci::details::session_backend.
Definition at line 131 of file backends/odbc/session.cpp.
|
virtual |
Implements soci::details::session_backend.
Definition at line 259 of file backends/odbc/session.cpp.
|
virtual |
Implements soci::details::session_backend.
Definition at line 254 of file backends/odbc/session.cpp.
|
virtual |
Implements soci::details::session_backend.
Definition at line 249 of file backends/odbc/session.cpp.
void odbc_session_backend::reset_transaction | ( | ) |
Definition at line 213 of file backends/odbc/session.cpp.
|
virtual |
Implements soci::details::session_backend.
Definition at line 120 of file backends/odbc/session.cpp.
std::string soci::odbc_session_backend::connection_string_ |
Definition at line 315 of file soci-odbc.h.
SQLHDBC soci::odbc_session_backend::hdbc_ |
Definition at line 313 of file soci-odbc.h.
SQLHENV soci::odbc_session_backend::henv_ |
Definition at line 312 of file soci-odbc.h.
database_product soci::odbc_session_backend::product_ |
Definition at line 316 of file soci-odbc.h.