DB2DatabaseFactory derived from the ODBCDatabaseFactory class that implements specific DB2 operations Database factory produces a new DB2 instance. More...
#include <Db2DatabaseProvider.h>
Public Member Functions | |
Db2DatabaseFactory () | |
Database * | createDatabase () |
Creates the provider specific database. More... | |
Public Member Functions inherited from FinTP::ODBCDatabaseFactory | |
ODBCDatabaseFactory (const string &provider) | |
Base class for database provider specific objects creations. More... | |
~ODBCDatabaseFactory () | |
DataParameterBase * | createParameter (DataType::DATA_TYPE paramType, DataParameterBase::PARAMETER_DIRECTION parameterDirection=DataParameterBase::PARAM_IN) |
Create parameter. More... | |
DataColumnBase * | createColumn (DataType::DATA_TYPE columnType, unsigned int dimension, int scale, const string &name="") |
string | getParamPlaceholder (const unsigned int i) const |
Returns a string representing a sql statement parameter placeholder. More... | |
string | getParamPlaceholder (const string ¶mname) const |
Returns a string representing a sql statement parameter placeholder. More... | |
string | getTrimFunc (const string &value) const |
Returns sql statement call to a provider specific trim function. More... | |
Public Member Functions inherited from FinTP::DatabaseProviderFactory | |
virtual | ~DatabaseProviderFactory () |
DataParameterBase * | createParameter (DataType::DATA_TYPE paramType) |
DataColumnBase * | createColumn (DataType::DATA_TYPE columnType, unsigned int dimension, int scale) |
string | name () const |
Getter method of the provider name. More... | |
Static Public Member Functions | |
static short int | getDb2SqlType (const DataType::DATA_TYPE type, const int dimension) |
Convert Db2DataType to and from another DataType. More... | |
static short int | getDb2DataType (const DataType::DATA_TYPE type) |
static DataType::DATA_TYPE | getDataType (const short int type, const int dimension) |
Static Public Member Functions inherited from FinTP::ODBCDatabaseFactory | |
static DataColumnBase * | internalCreateColumn (DataType::DATA_TYPE columnType, unsigned int dimension, int scale, const string &name="") |
Create column. More... | |
static short int | getODBCSqlType (const DataType::DATA_TYPE type, const int dimension) |
static short int | getODBCDataType (const DataType::DATA_TYPE type) |
static int | getODBCParameterDirection (DataParameterBase::PARAMETER_DIRECTION paramDirection) |
static DataType::DATA_TYPE | getDataType (const short int type, const int dimension) |
Additional Inherited Members | |
Protected Member Functions inherited from FinTP::DatabaseProviderFactory | |
DatabaseProviderFactory (const string &providername) | |
Protected Attributes inherited from FinTP::DatabaseProviderFactory | |
string | m_Name |
DB2DatabaseFactory derived from the ODBCDatabaseFactory class that implements specific DB2 operations Database factory produces a new DB2 instance.
|
inline |
|
virtual |
Creates the provider specific database.
Implements FinTP::ODBCDatabaseFactory.
|
static |
|
static |
|
static |
Convert Db2DataType to and from another DataType.