#include <cOracleDatabase.h>
Inheritance diagram for OracleDatabase:
Public Member Functions | |
OracleDatabase (const char *ConnectString=NULL) | |
~OracleDatabase () | |
virtual bool | Commit () |
virtual bool | Rollback () |
virtual class Connection * | Connect (const char *UserName, const char *Password) |
virtual bool | WriteDDL (std::ofstream &S) |
virtual char * | ColumnTypeDDL (char colType, int colLength) |
Protected Member Functions | |
virtual bool | _Commit () |
virtual bool | _Rollback () |
|
|
|
|
|
Saves all modified objects to DB, then performs commit on all connections to the database.
Reimplemented from Database. |
|
Performs rollback on all connections to the database, then destroys all copies in memory.
Reimplemented from Database. |
|
Creates new connection to the database After successful connection this function should call afterConnectHandler if runAfterConnectHandler is set. Implementation should return ObjLibException_ConnectionError in case of error.
Implements Database. |
|
Generates DDL statements needed for old POLiTe style persistence to work Obsolete function. IopcPersistentObject ancestors don't need this generated DDL statements. So you can make fake implementation of this function if you don't need to support POLiTe-style persistent classes.
Implements Database. |
|
Returns correct database column type for given attribute type. Obsolete function used by POLiTe-style persistent classes. IopcPersistentObject ancestors don't use this function. So you can make fake implementation of this function if you don't need to support POLiTe-style persistent classes.
Implements Database. |
|
Performs commit on all connections to the database immediately (modified objects are not saved into DB).
Reimplemented from Database. |
|
Performs rollback on all connections to the database (doesn't destroy copies in memory).
Reimplemented from Database. |