| QxOrm 1.3.2 C++ Object Relational Mapping library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

Classes | Namespaces | Defines
QxSqlDatabase.h File Reference
QxDao : QxOrm library database communication used by persistence engine (ORM - Object Relational Mapping)

Define all parameters to connect to database and retrieve a valid connection by thread. More...

`#include <QtCore/qhash.h>`
`#include <QtCore/qmutex.h>`
`#include <QtCore/qthread.h>`
`#include <QtCore/quuid.h>`
`#include <QtSql/qsqldatabase.h>`
`#include <QtSql/qsqlquery.h>`
`#include <QtSql/qsqlerror.h>`
`#include <QxSingleton/QxSingleton.h>`
`#include <QxDao/QxSqlGenerator/IxSqlGenerator.h>`

Go to the source code of this file.

## Classes
class | qx::QxSqlDatabase
| qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by thread (this class is a singleton and is thread-safe) More...
## Namespaces
namespace | qx
| Root namespace for all QxOrm library features.
## Defines
#define | QX_CONSTRUCT_QX_SQL_DATABASE()

## Detailed Description

Define all parameters to connect to database and retrieve a valid connection by thread.

Author:
  Lionel Marty

Definition in file QxSqlDatabase.h.

## Define Documentation

#define QX_CONSTRUCT_QX_SQL_DATABASE | ( |  | ) |

Value:

    m_iPort(-1), m_bTraceSqlQuery(true), m_bTraceSqlRecord(false), \
    m_ePlaceHolderStyle(ph_style_2_point_name), m_bSessionThrowable(false), \
    m_bSessionAutoTransaction(true), m_bValidatorThrowable(false), \
    m_bAutoReplaceSqlAliasIntoQuery(true), m_bVerifyOffsetRelation(false), \
    m_bAddAutoIncrementIdToUpdateQuery(true), m_bForceParentIdToAllChildren(false)

Definition at line 59 of file QxSqlDatabase.h.