#include <cOracleConnection.h>
Inheritance diagram for OracleConnection:
Public Member Functions | |
virtual | ~OracleConnection () |
virtual bool | Sql (const char *sqlCommand) |
virtual bool | Commit () |
virtual bool | Rollback () |
virtual bool | Savepoint (const char *name) |
virtual bool | RollbackToSavepoint (const char *name) |
virtual bool | Disconnect () |
virtual bool | Abort () |
virtual bool | Autocommit (bool ac) |
Protected Member Functions | |
OracleConnection (class Database *DB, const char *UserName, const char *Password, const int LocHandle, const int GlobHandle) | |
virtual bool | _Sql (const char *sqlCommand) |
virtual bool | _Commit () |
virtual bool | _Rollback () |
virtual bool | _Savepoint (const char *name) |
virtual bool | _RollbackToSavepoint (const char *name) |
virtual bool | _NextOID (long int &nxtoid, long int &nxtsn) |
virtual bool | _NextSN (long int curoid, long int &nxtsn) |
virtual Cursor * | _GetNewCursor () |
Protected Attributes | |
Lda_Def | _LDA |
ub1 | _HDA [HDA_SIZE] |
|
|
|
|
|
Processes SQL command (
Reimplemented from Connection. |
|
Commits actual transaction.
Implements Connection. |
|
Performs rollback of actual transaction.
Implements Connection. |
|
Creates savepoint with given name ( If your database doesn't support savepoints, feel free to make fake implementation of this function. Implements Connection. |
|
Performs rollback to savepoint with given name ( If your database doesn't support savepoints, feel free to make fake implementation of this function. Implements Connection. |
|
Generates new OID and Serial Number for a new object. 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 Connection. |
|
Generates new Serial Number for object with given OID. 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 Connection. |
|
Updates all objects in cache, then calls _Sql().
Reimplemented from Connection. |
|
Saves modified objects to the database, then commits actual transaction.
Reimplemented from Connection. |
|
Performs rollback of actual transaction, then removes all persistent objects from the memory.
Reimplemented from Connection. |
|
Saves modified objects to the database, then creates savepoint.
Reimplemented from Connection. |
|
Performs rollback to savepoint, then destroys all data in memory.
Reimplemented from Connection. |
|
Commits actual transaction, then disconnects from database.
Reimplemented from Connection. |
|
Performs rollback of actual transaction, then disconnect from database.
Reimplemented from Connection. |
|
Turns on / off autocommit (automatic commit of every SQL data manipulation statement).
Implements Connection. |
|
Creates and returns new cursor.
Implements Connection. |
|
|
|
|