A base class for Automatic Application Info related classes. Not intended to be used directly.
More...
A base class for Automatic Application Info related classes. Not intended to be used directly.
◆ setAppInfo()
◆ setAppInfoCallback()
abstract OracleExtensions::OracleInstrumentationBase::setAppInfoCallback |
( |
*string |
oraclient, |
|
|
*string |
oramodule, |
|
|
*string |
oraaction |
|
) |
| |
|
pure virtual |
A method automatically called from setAppInfo() to allow custom implementations.
setAppInfoCallback() should be reimplemented in any of inherited class to allow set app info without m_ds or similar workarounds. Custom implementation can use advantages of direct Datasource/Pool inheritance.
Implemented in OracleExtensions::OracleSQLStatement.
◆ setAutomaticDBInfo()
Obtain info about transaction capturing and try to get available Application Info.
- Parameters
-
item | optional OracleApplicationInfo with value or NOTHING |
checkTransaction | default=True. True = check if there is a transaction. False = do not check. |
- Return values
-
bool | True if the ds will be rollbacked explicitly |
The transaction handling is for example:
- select: check if there is a transaction: no? rollback after run.
- exec: yes! do not rollback - the transaction will be handled upstream in user code
The documentation for this class was generated from the following file:
- doxygen/qlib/OracleExtensions.qm.dox.h