#include <stdair/service/DBSessionManager.hpp>
Public Member Functions | |
DBSession_T & | getDBSession () const |
Static Public Member Functions | |
static DBSessionManager & | instance () |
Friends | |
class | FacSupervisor |
class | STDAIR_Service |
Class holding the database session.
Note that the database access is handled by the SOCI library.
Definition at line 17 of file DBSessionManager.hpp.
|
static |
Return the static DBSessionManager instance.
Definition at line 82 of file DBSessionManager.cpp.
DBSession_T & stdair::DBSessionManager::getDBSession | ( | ) | const |
Retrieve the database session handler, held by the static instance of DBSessionManager.
Definition at line 92 of file DBSessionManager.cpp.
|
friend |
Definition at line 19 of file DBSessionManager.hpp.
|
friend |
Definition at line 20 of file DBSessionManager.hpp.