Public Member Functions | Public Attributes | List of all members
soci::db2_session_backend Struct Reference

#include <soci-db2.h>

Inheritance diagram for soci::db2_session_backend:
Inheritance graph
[legend]

Public Member Functions

void begin ()
 
void clean_up ()
 
void commit ()
 
 db2_session_backend (connection_parameters const &parameters)
 
std::string get_backend_name () const
 
db2_blob_backendmake_blob_backend ()
 
db2_rowid_backendmake_rowid_backend ()
 
db2_statement_backendmake_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
 

Detailed Description

Definition at line 231 of file soci-db2.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void db2_session_backend::begin ( )
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.

void db2_session_backend::commit ( )
virtual

Implements soci::details::session_backend.

Definition at line 148 of file backends/db2/session.cpp.

std::string soci::db2_session_backend::get_backend_name ( ) const
inlinevirtual

Implements soci::details::session_backend.

Definition at line 241 of file soci-db2.h.

db2_blob_backend * db2_session_backend::make_blob_backend ( )
virtual

Implements soci::details::session_backend.

Definition at line 214 of file backends/db2/session.cpp.

db2_rowid_backend * db2_session_backend::make_rowid_backend ( )
virtual

Implements soci::details::session_backend.

Definition at line 209 of file backends/db2/session.cpp.

db2_statement_backend * db2_session_backend::make_statement_backend ( )
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.

void db2_session_backend::rollback ( )
virtual

Implements soci::details::session_backend.

Definition at line 171 of file backends/db2/session.cpp.

Member Data Documentation

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.


The documentation for this struct was generated from the following files:


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41