highlighter application  1.1
HCE project utils : highlighter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
DBSession.hpp File Reference
#include <iostream>
#include <string>
#include <Poco/Data/MySQL/MySQL.h>
#include <Poco/Data/SQLite/Connector.h>
#include <Poco/Data/MySQL/Connector.h>
#include <Poco/Data/Session.h>
#include <Poco/Data/SessionFactory.h>
#include <Poco/SharedPtr.h>
#include <Poco/ScopedLock.h>
#include <Poco/Mutex.h>
#include <Poco/Bugcheck.h>
#include <Poco/Data/MySQL/MySQLException.h>
#include <Poco/Util/AbstractConfiguration.h>
Include dependency graph for DBSession.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HCE::database::DBSession

Namespaces

namespace  HCE
 < HCE::ServerApplication provides global variable 'HCE::database::Session' which initializes in function 'HCE::ServerApplication::initializeDataBaseSession()'
namespace  HCE::database

Macros

#define DataBase_KEY   "DataBase"
#define DataBase_HOST   "DataBase.host"
#define DataBase_USER   "DataBase.user"
#define DataBase_PASSWORD   "DataBase.password"
#define DataBase_DB   "DataBase.db"
#define DataBase_COMPRESS   "DataBase.compress"
#define DataBase_COMPRESS_DEFAULT   "true"
#define DataBase_AUTO_RECONNECT   "DataBase.auto-reconnect"
#define DataBase_AUTO_RECONNECT_DEFAULT   "true"
#define DataBase_TYPE   "DataBase.type"
#define MYSQL   "mysql"
#define SQLITE   "sqlite"
#define MYSQL_KEY   Poco::Data::MySQL::Connector::KEY
#define SQLITE_KEY   Poco::Data::SQLite::Connector::KEY

Macro Definition Documentation

#define DataBase_AUTO_RECONNECT   "DataBase.auto-reconnect"

Definition at line 25 of file DBSession.hpp.

#define DataBase_AUTO_RECONNECT_DEFAULT   "true"

Definition at line 26 of file DBSession.hpp.

#define DataBase_COMPRESS   "DataBase.compress"

Definition at line 23 of file DBSession.hpp.

#define DataBase_COMPRESS_DEFAULT   "true"

Definition at line 24 of file DBSession.hpp.

#define DataBase_DB   "DataBase.db"

Definition at line 22 of file DBSession.hpp.

#define DataBase_HOST   "DataBase.host"

Definition at line 19 of file DBSession.hpp.

#define DataBase_KEY   "DataBase"

Definition at line 18 of file DBSession.hpp.

#define DataBase_PASSWORD   "DataBase.password"

Definition at line 21 of file DBSession.hpp.

#define DataBase_TYPE   "DataBase.type"

Definition at line 27 of file DBSession.hpp.

#define DataBase_USER   "DataBase.user"

Definition at line 20 of file DBSession.hpp.

#define MYSQL   "mysql"

Definition at line 29 of file DBSession.hpp.

#define MYSQL_KEY   Poco::Data::MySQL::Connector::KEY

Definition at line 33 of file DBSession.hpp.

#define SQLITE   "sqlite"

Definition at line 30 of file DBSession.hpp.

#define SQLITE_KEY   Poco::Data::SQLite::Connector::KEY

Definition at line 35 of file DBSession.hpp.