OSB_DB::SessionCtrl Struct Reference

List of all members.

Detailed Description

Helper class to initialize OTL.

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.

Public Member Functions


Constructor & Destructor Documentation

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().


The documentation for this struct was generated from the following file:
Generated on Sat Sep 2 14:08:57 2006 for OSB Library by  doxygen 1.4.7