Qore oracle Module ..
|
A base class for OracleDatasource and OracleDatasourcePool. Not intended to be used directly. More...
#include <OracleExtensions.qm.dox.h>
Public Member Methods | |
*string | getDBName () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
*string | getUserName () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
any | getServerVersion () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
*string | getPassword () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
hash | getConfigHash () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
*int | getPort () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
string | getConfigString () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
any | getClientVersion () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
*string | getOSEncoding () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
string | getDriverName () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
string | getDBEncoding () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
*string | getHostName () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
bool | inTransaction () |
AbstractDatasource implementation for Datasource and DatasourcePool. | |
setAppInfoCallback (*string oraclient, *string oramodule, *string oraaction) | |
Set app info by wrapped Datasource/Pool object. | |
bool | currentThreadInTransaction () |
A backend provided m_ds.currentThreadInTransaction() for wrappeed Datasource/Pool. | |
nothing | beginTransaction (*string client, *string module, *string action) |
Start new transaction with Application info set as strings or with potential automatic Application info set. | |
nothing | beginTransaction (OracleExtensions::OracleApplicationInfo info) |
Start new transaction with Application info set as object. | |
any | exec (string sql) |
exec with automatic approach of getting application info | |
any | execRaw (string sql) |
execRaw with automatic approach of getting application info | |
any | select (string sql) |
select with automatic approach of getting application info | |
any | selectRow (string sql) |
selectRow with automatic approach of getting application info | |
any | selectRows (string sql) |
selectRows with automatic approach of getting application info | |
any | vexec (string sql, softlist vargs) |
vexec with automatic approach of getting application info | |
any | vselect (string sql, softlist vargs) |
vselect with automatic approach of getting application info | |
any | vselectRow (string sql, softlist vargs) |
vselectRow with automatic approach of getting application info | |
any | vselectRows (string sql, softlist vargs) |
vselectRows with automatic approach of getting application info | |
any | exec (OracleExtensions::OracleApplicationInfo info, string sql) |
exec with user defined application info | |
any | execRaw (OracleExtensions::OracleApplicationInfo info, string sql) |
execRaw with user defined application info | |
any | select (OracleExtensions::OracleApplicationInfo info, string sql) |
select with user defined application info | |
any | selectRow (OracleExtensions::OracleApplicationInfo info, string sql) |
selectRow with user defined application info | |
any | selectRows (OracleExtensions::OracleApplicationInfo info, string sql) |
selectRows with user defined application info | |
any | vexec (OracleExtensions::OracleApplicationInfo info, string sql) |
vexec with user defined application info | |
any | vselect (OracleExtensions::OracleApplicationInfo info, string sql) |
vselect with user defined application info | |
any | vselectRow (OracleExtensions::OracleApplicationInfo info, string sql) |
vselectRow with user defined application info | |
any | vselectRows (OracleExtensions::OracleApplicationInfo info, string sql) |
vselectRows with user defined application info | |
Public Member Methods inherited from OracleExtensions::OracleInstrumentationBase | |
bool | setAutomaticDBInfo (*OracleExtensions::OracleApplicationInfo item, bool checkTransaction=True) |
Obtain info about transaction capturing and try to get available Application Info. | |
abstract | setAppInfoCallback (*string oraclient, *string oramodule, *string oraaction) |
A method automatically called from setAppInfo() to allow custom implementations. | |
abstract bool | currentThreadInTransaction () |
A backend provided currentThreadInTransaction() for wrappeed or inheritted Datasource/Pool. | |
setAppInfo (*OracleExtensions::OracleApplicationInfo audit, bool fromSystem=True) | |
Set the explicit Application Info. The transaction lock is taken. | |
setAppInfo (*string client, *string module, *string action, bool fromSystem=True) | |
An overloaded method with the same functionality as the OracleExtensions::OracleApplicationInfo variant. | |
Additional Inherited Members | |
Private Attributes inherited from OracleExtensions::OracleInstrumentationBase | |
*OracleExtensions::OracleApplicationInfo | userInfo |
potential user Application Info set by beginTransaction or explicit call of setAppInfo | |
*code | autoCode |
user code used in setAutomaticDBInfo when there is no OracleApplicationInfo value provided | |
object | m_ds |
Internally used datasource/pool. | |
A base class for OracleDatasource and OracleDatasourcePool. Not intended to be used directly.
nothing OracleExtensions::OracleDatasourceBase::beginTransaction | ( | *string | client, |
*string | module, | ||
*string | action | ||
) |
Start new transaction with Application info set as strings or with potential automatic Application info set.
client | optional string, application info Client |
module | optional string, application info Module |
action | optional string, application info Action |
Currently used application info will be used in any following method calls if there is no OracleExtensions::OracleApplicationInfo instance used. If there is no user info provided, OracleDatasource tries to find the appropriate Application info automatically if possible.
nothing OracleExtensions::OracleDatasourceBase::beginTransaction | ( | OracleExtensions::OracleApplicationInfo | info | ) |
Start new transaction with Application info set as object.
info | mandatory. Application info object instance |
Currently used application info will be used in any following method calls if there is no OracleExtensions::OracleApplicationInfo instance used.
any OracleExtensions::OracleDatasourceBase::exec | ( | OracleExtensions::OracleApplicationInfo | info, |
string | sql | ||
) |
exec with user defined application info
info | a OracleExtensions::OracleApplicationInfo instance |
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method sets given application info. The previously set info (beginTransaction, setAppInfo) is overriden and the context related info is skipped.
any OracleExtensions::OracleDatasourceBase::exec | ( | string | sql | ) |
exec with automatic approach of getting application info
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method tries to find application info automatically. The previously set info (beginTransaction, setAppInfo) is used or a context related info is used in Qorus Integration Engine.
any OracleExtensions::OracleDatasourceBase::execRaw | ( | OracleExtensions::OracleApplicationInfo | info, |
string | sql | ||
) |
execRaw with user defined application info
info | a OracleExtensions::OracleApplicationInfo instance |
sql | a SQL statement |
any | a result as in parent class method |
This method sets given application info. The previously set info (beginTransaction, setAppInfo) is overriden and the context related info is skipped.
any OracleExtensions::OracleDatasourceBase::execRaw | ( | string | sql | ) |
execRaw with automatic approach of getting application info
sql | a SQL statement |
any | a result as in parent class method |
This method tries to find application infautomatically. The previously set info (beginTransaction, setAppInfo) is used or a context related info is used in Qorus Integration Engine.
any OracleExtensions::OracleDatasourceBase::select | ( | OracleExtensions::OracleApplicationInfo | info, |
string | sql | ||
) |
select with user defined application info
info | a OracleExtensions::OracleApplicationInfo instance |
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method sets given application info. The previously set info (beginTransaction, setAppInfo) is overriden and the context related info is skipped.
any OracleExtensions::OracleDatasourceBase::select | ( | string | sql | ) |
select with automatic approach of getting application info
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method tries to find application info automatically. The previously set info (beginTransaction, setAppInfo) is used or a context related info is used in Qorus Integration Engine.
any OracleExtensions::OracleDatasourceBase::selectRow | ( | OracleExtensions::OracleApplicationInfo | info, |
string | sql | ||
) |
selectRow with user defined application info
info | a OracleExtensions::OracleApplicationInfo instance |
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method sets given application info. The previously set info (beginTransaction, setAppInfo) is overriden and the context related info is skipped.
any OracleExtensions::OracleDatasourceBase::selectRow | ( | string | sql | ) |
selectRow with automatic approach of getting application info
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method tries to find application info automatically. The previously set info (beginTransaction, setAppInfo) is used or a context related info is used in Qorus Integration Engine.
any OracleExtensions::OracleDatasourceBase::selectRows | ( | OracleExtensions::OracleApplicationInfo | info, |
string | sql | ||
) |
selectRows with user defined application info
info | a OracleExtensions::OracleApplicationInfo instance |
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method sets given application info. The previously set info (beginTransaction, setAppInfo) is overriden and the context related info is skipped.
any OracleExtensions::OracleDatasourceBase::selectRows | ( | string | sql | ) |
selectRows with automatic approach of getting application info
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method tries to find application info automatically. The previously set info (beginTransaction, setAppInfo) is used or a context related info is used in Qorus Integration Engine.
any OracleExtensions::OracleDatasourceBase::vexec | ( | OracleExtensions::OracleApplicationInfo | info, |
string | sql | ||
) |
vexec with user defined application info
info | a OracleExtensions::OracleApplicationInfo instance |
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method sets given application info. The previously set info (beginTransaction, setAppInfo) is overriden and the context related info is skipped.
any OracleExtensions::OracleDatasourceBase::vexec | ( | string | sql, |
softlist | vargs | ||
) |
vexec with automatic approach of getting application info
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method tries to find application info automatically. The previously set info (beginTransaction, setAppInfo) is used or a context related info is used in Qorus Integration Engine.
any OracleExtensions::OracleDatasourceBase::vselect | ( | OracleExtensions::OracleApplicationInfo | info, |
string | sql | ||
) |
vselect with user defined application info
info | a OracleExtensions::OracleApplicationInfo instance |
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method sets given application info. The previously set info (beginTransaction, setAppInfo) is overriden and the context related info is skipped.
any OracleExtensions::OracleDatasourceBase::vselect | ( | string | sql, |
softlist | vargs | ||
) |
vselect with automatic approach of getting application info
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method tries to find application info automatically. The previously set info (beginTransaction, setAppInfo) is used or a context related info is used in Qorus Integration Engine.
any OracleExtensions::OracleDatasourceBase::vselectRow | ( | OracleExtensions::OracleApplicationInfo | info, |
string | sql | ||
) |
vselectRow with user defined application info
info | a OracleExtensions::OracleApplicationInfo instance |
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method sets given application info. The previously set info (beginTransaction, setAppInfo) is overriden and the context related info is skipped.
any OracleExtensions::OracleDatasourceBase::vselectRow | ( | string | sql, |
softlist | vargs | ||
) |
vselectRow with automatic approach of getting application info
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method tries to find application info automatically. The previously set info (beginTransaction, setAppInfo) is used or a context related info is used in Qorus Integration Engine.
any OracleExtensions::OracleDatasourceBase::vselectRows | ( | OracleExtensions::OracleApplicationInfo | info, |
string | sql | ||
) |
vselectRows with user defined application info
info | a OracleExtensions::OracleApplicationInfo instance |
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method sets given application info. The previously set info (beginTransaction, setAppInfo) is overriden and the context related info is skipped.
any OracleExtensions::OracleDatasourceBase::vselectRows | ( | string | sql, |
softlist | vargs | ||
) |
vselectRows with automatic approach of getting application info
sql | a SQL statement |
... | binding arguments as in parent class method |
any | a result as in parent class method |
This method tries to find application info automatically. The previously set info (beginTransaction, setAppInfo) is used or a context related info is used in Qorus Integration Engine.