#include <ODBCDatabaseProvider.h>
FinTP::ODBCDatabaseFactory::ODBCDatabaseFactory |
( |
const string & |
provider | ) |
|
|
inline |
Base class for database provider specific objects creations.
Factory specific implementations are responsable to provide every runtime specific object needed to perform database related operations
FinTP::ODBCDatabaseFactory::~ODBCDatabaseFactory |
( |
| ) |
|
|
inline |
virtual Database* FinTP::ODBCDatabaseFactory::createDatabase |
( |
| ) |
|
|
pure virtual |
Create parameter.
- Parameters
-
paramType | type DATA_TYPE. The parameter data type |
parameterDirection | type PARAMETER_DIRECTION. The parameter direction |
Implements FinTP::DatabaseProviderFactory.
DataType::DATA_TYPE ODBCDatabaseFactory::getDataType |
( |
const short int |
type, |
|
|
const int |
dimension |
|
) |
| |
|
static |
short int ODBCDatabaseFactory::getODBCSqlType |
( |
const DataType::DATA_TYPE |
type, |
|
|
const int |
dimension |
|
) |
| |
|
static |
string FinTP::ODBCDatabaseFactory::getParamPlaceholder |
( |
const unsigned int |
i | ) |
const |
|
inlinevirtual |
Returns a string representing a sql statement parameter placeholder.
- Parameters
-
i | The bind parameter index. |
- Returns
- The parameter placeholder.
Implements FinTP::DatabaseProviderFactory.
string FinTP::ODBCDatabaseFactory::getParamPlaceholder |
( |
const string & |
paramname | ) |
const |
|
inlinevirtual |
Returns a string representing a sql statement parameter placeholder.
- Parameters
-
paramname | The bind parameter name. |
- Returns
- The parameter placeholder.
Implements FinTP::DatabaseProviderFactory.
string FinTP::ODBCDatabaseFactory::getTrimFunc |
( |
const string & |
value | ) |
const |
|
inlinevirtual |
Returns sql statement call to a provider specific trim function.
- Parameters
-
value | The string used in the trim function call. |
- Returns
- The trim function call.
Implements FinTP::DatabaseProviderFactory.
Create column.
- Parameters
-
columnType | type DATA_TYPE. The column's datatype. |
dimension | type int. The column's dimension. |
scale | type int. The column's scale. |
name | type string. The column's name. |
The documentation for this class was generated from the following files: