QxOrm  1.4.6
C++ Object Relational Mapping library

qx::dao::detail::QxSqlGenerator_Oracle : SQL generator for Oracle database More...

#include <QxSqlGenerator_Oracle.h>

Inheritance diagram for qx::dao::detail::QxSqlGenerator_Oracle:
qx::dao::detail::QxSqlGenerator_Standard qx::dao::detail::IxSqlGenerator

List of all members.

Public Member Functions

 QxSqlGenerator_Oracle ()
 QxSqlGenerator_Oracle (bool bManageLastInsertId)
virtual ~QxSqlGenerator_Oracle ()
virtual QString getTableAliasSep () const
virtual QString getLimit (const QxSqlLimit *pLimit) const
virtual void resolveLimit (QSqlQuery &query, const QxSqlLimit *pLimit) const
virtual void postProcess (QString &sql, const QxSqlLimit *pLimit) const
virtual void checkSqlInsert (IxDao_Helper *pDaoHelper, QString &sql) const
virtual void onBeforeInsert (IxDao_Helper *pDaoHelper, void *pOwner) const
virtual void onAfterInsert (IxDao_Helper *pDaoHelper, void *pOwner) const
bool getOldLimitSyntax () const
void setOldLimitSyntax (bool b)
bool getManageLastInsertId () const
void setManageLastInsertId (bool b)

Protected Attributes

bool m_bOldLimitSyntax
 Use old limit syntax (for Oracle version < 12.1), more details here : https://stackoverflow.com/questions/470542/how-do-i-limit-the-number-of-rows-returned-by-an-oracle-query-after-ordering.
bool m_bManageLastInsertId
 Manage last insert id using RETURNING INTO syntax (thx to Romain Macureau and Abdennour Boutrig)

Private Member Functions

void initSqlTypeByClassName () const

Detailed Description

qx::dao::detail::QxSqlGenerator_Oracle : SQL generator for Oracle database

Definition at line 56 of file QxSqlGenerator_Oracle.h.


Constructor & Destructor Documentation

qx::dao::detail::QxSqlGenerator_Oracle::QxSqlGenerator_Oracle ( )
qx::dao::detail::QxSqlGenerator_Oracle::QxSqlGenerator_Oracle ( bool  bManageLastInsertId)
virtual qx::dao::detail::QxSqlGenerator_Oracle::~QxSqlGenerator_Oracle ( ) [virtual]

Member Function Documentation

virtual void qx::dao::detail::QxSqlGenerator_Oracle::checkSqlInsert ( IxDao_Helper pDaoHelper,
QString &  sql 
) const [virtual]
virtual QString qx::dao::detail::QxSqlGenerator_Oracle::getLimit ( const QxSqlLimit pLimit) const [virtual]
bool qx::dao::detail::QxSqlGenerator_Oracle::getManageLastInsertId ( ) const
bool qx::dao::detail::QxSqlGenerator_Oracle::getOldLimitSyntax ( ) const
virtual QString qx::dao::detail::QxSqlGenerator_Oracle::getTableAliasSep ( ) const [virtual]
void qx::dao::detail::QxSqlGenerator_Oracle::initSqlTypeByClassName ( ) const [private]
virtual void qx::dao::detail::QxSqlGenerator_Oracle::onAfterInsert ( IxDao_Helper pDaoHelper,
void *  pOwner 
) const [virtual]
virtual void qx::dao::detail::QxSqlGenerator_Oracle::onBeforeInsert ( IxDao_Helper pDaoHelper,
void *  pOwner 
) const [virtual]
virtual void qx::dao::detail::QxSqlGenerator_Oracle::postProcess ( QString &  sql,
const QxSqlLimit pLimit 
) const [virtual]
virtual void qx::dao::detail::QxSqlGenerator_Oracle::resolveLimit ( QSqlQuery &  query,
const QxSqlLimit pLimit 
) const [virtual]
void qx::dao::detail::QxSqlGenerator_Oracle::setManageLastInsertId ( bool  b)
void qx::dao::detail::QxSqlGenerator_Oracle::setOldLimitSyntax ( bool  b)

Member Data Documentation

Manage last insert id using RETURNING INTO syntax (thx to Romain Macureau and Abdennour Boutrig)

Definition at line 62 of file QxSqlGenerator_Oracle.h.


The documentation for this class was generated from the following file: