Qore oracle Module  ..
OracleExtensions::OracleDatasource Class Reference

OracleDatasource class implementation. More...

Inheritance diagram for OracleExtensions::OracleDatasource:
OracleExtensions::OracleDatasourceBase OracleExtensions::OracleInstrumentationBase

Public Member Methods

 constructor (string driver, *string user, *string pass, *string db, *string encoding, *string host, softint port=0, *code userAutoInfo)
 Standard Qore::DatasourcePool constructor. More...
 
 constructor (string desc, *code userAutoInfo)
 Standard Qore::DatasourcePool constructor. More...
 
 constructor (hash opts, *code userAutoInfo)
 Standard Qore::DatasourcePool constructor. More...
 
 constructor (Datasource ds, *code userAutoInfo)
 New constructor: use already existing Datasource. More...
 
- 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. More...
 
 setAppInfo (*OracleExtensions::OracleApplicationInfo audit, bool fromSystem=True)
 Set the explicit Application Info. The transaction lock is taken. More...
 
 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.
 

Detailed Description

OracleDatasource class implementation.

It wraps from Qore::Datasource.

Member Function Documentation

◆ constructor() [1/4]

OracleExtensions::OracleDatasource::constructor ( Datasource  ds,
*code  userAutoInfo 
)
inline

New constructor: use already existing Datasource.

The original Datasource is embedded into this instance.

Parameters
userAutoInfosee Automatic Application Info

◆ constructor() [2/4]

OracleExtensions::OracleDatasource::constructor ( hash  opts,
*code  userAutoInfo 
)
inline

Standard Qore::DatasourcePool constructor.

Parameters
userAutoInfosee Automatic Application Info

◆ constructor() [3/4]

OracleExtensions::OracleDatasource::constructor ( string  desc,
*code  userAutoInfo 
)
inline

Standard Qore::DatasourcePool constructor.

Parameters
userAutoInfosee Automatic Application Info

◆ constructor() [4/4]

OracleExtensions::OracleDatasource::constructor ( string  driver,
*string  user,
*string  pass,
*string  db,
*string  encoding,
*string  host,
softint  port = 0,
*code  userAutoInfo 
)
inline

Standard Qore::DatasourcePool constructor.

Parameters
userAutoInfosee Automatic Application Info

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