Every application using database session must declare an instance of this class (such that the constructor is called before the first database connection).
Definition at line 215 of file dbsession.h.
OSB_DB::SessionCtrl::SessionCtrl | ( | bool | useThreads | ) |
Constructor with flag if the application is multi-threaded.
Calls otl_connect::otl_initialize(...) with 1 if useThreads is true, else with 0.
OSB_DB::SessionCtrl::~SessionCtrl | ( | ) |
Destructor: calls otl_connect::otl_terminate().