#include <cConnection.h>
Inheritance diagram for Connection:


Public Methods | |
| ~Connection () | |
| 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)=0 |
| virtual Connection & | operator<< (const char *SqlCommand) |
| Connection & | operator<< (const class Cmd &Command) |
| bool | operator== (const class Connection &DbConn) const |
| bool | operator!= (const class Connection &DbConn) const |
| virtual enum UpdatingStrategy | CurrentUpdatingStrategy () const |
| virtual bool | SetUpdatingStrategy (enum UpdatingStrategy anUpdateStrategy) |
| virtual enum WaitingStrategy | CurrentWaitingStrategy () const |
| virtual bool | SetWaitingStrategy (enum WaitingStrategy aWaitingStrategy) |
| virtual enum LockingStrategy | CurrentLockingStrategy () const |
| virtual bool | SetLockingStrategy (enum LockingStrategy aLockingStrategy) |
| virtual enum ReadingStrategy | CurrentReadingStrategy () const |
| virtual bool | SetReadingStrategy (enum ReadingStrategy aReadingStrategy) |
Protected Methods | |
| virtual bool | _Sql (const char *const SqlCommand)=0 |
| virtual bool | _Commit ()=0 |
| virtual bool | _Rollback ()=0 |
| virtual bool | _Savepoint (const char *const Name)=0 |
| virtual bool | _RollbackToSavepoint (const char *const Name)=0 |
| virtual bool | _NextOID (long int &nxtoid, long int &nxtsn)=0 |
| virtual bool | _NextSN (long int curoid, long int &nxtsn)=0 |
| Connection (class Database *DB, const char *UserName, const char *Password, const int LocHandle, const int GlobHandle) | |
| char * | _GetUserName () |
| char * | _GetPassword () |
| virtual class Cursor * | _GetNewCursor ()=0 |
| virtual bool | _Open () |
| virtual bool | _Prepare (const char *SqlCommand) |
| virtual bool | _PreExecBind (const char *const VarName, const void *VarAddr, const int VarLen, const char VarType, const short *VarInd=NULL) |
| virtual bool | _Execute () |
| virtual bool | _PreFetchBind (const int Position, const void *VarAddr, const int VarLen, const char VarType, const short *VarInd=NULL) |
| virtual bool | _FetchNext () |
| virtual bool | _FetchPrev () |
| virtual bool | _Close () |
Protected Attributes | |
| unsigned short | _Strategies |
| char * | _UserName |
| char * | _Password |
| Database * | _Database |
| int | _Handle |
| int | _LocalHandle |
| Cursor * | _DefaultCursor |
Friends | |
| class | Database |
| class | Cursor |
| class | RefBase |
| class | Object |
| class | ProtoBase |
| class | PersistentObject |
| class | ObjectBuffer |
| class | ResultBase |
| class | Relation |
| class | OneToOneRelationBase |
| class | OneToManyRelationBase |
| class | ManyToOneRelationBase |
| class | ManyToManyRelationBase |
| class | ChainedRelationBase |
|
||||||||||||||||||||||||
|
Definition at line 33 of file cConnection.cpp. References StrCpy(). |
|
|
Definition at line 53 of file cConnection.cpp. |
|
|
Definition at line 234 of file cConnection.cpp. References Cursor::_Close(), and _DefaultCursor. Referenced by OracleConnection::_Sql(), PersistentObject::_VersionsMatch(), and RefBase::_Virtualise(). |
|
|
Implemented in OracleConnection. |
|
|
Definition at line 208 of file cConnection.cpp. References _DefaultCursor, and Cursor::_Execute(). Referenced by OracleConnection::_Sql(), PersistentObject::_VersionsMatch(), RefBase::_Virtualise(), and ChainedRelationBase::ExistsCouple(). |
|
|
Definition at line 224 of file cConnection.cpp. References _DefaultCursor, and Cursor::_FetchNext(). Referenced by PersistentObject::_VersionsMatch(), RefBase::_Virtualise(), and ChainedRelationBase::ExistsCouple(). |
|
|
Definition at line 229 of file cConnection.cpp. References _DefaultCursor, and Cursor::_FetchPrev(). |
|
|
Implemented in OracleConnection. |
|
|
Definition at line 122 of file cConnection.h. Referenced by Cursor::_GetPassword(). |
|
|
Definition at line 121 of file cConnection.h. Referenced by Cursor::_GetUserName(). |
|
||||||||||||
|
Implemented in OracleConnection. |
|
||||||||||||
|
Implemented in OracleConnection. Referenced by PersistentObject::Update(). |
|
|
Definition at line 187 of file cConnection.cpp. References _DefaultCursor, and Cursor::_Open(). Referenced by OracleConnection::_Sql(), PersistentObject::_VersionsMatch(), RefBase::_Virtualise(), and ChainedRelationBase::ExistsCouple(). |
|
||||||||||||||||||||||||
|
Definition at line 197 of file cConnection.cpp. References _DefaultCursor, and Cursor::_PreExecBind(). |
|
||||||||||||||||||||||||
|
Definition at line 213 of file cConnection.cpp. References _DefaultCursor, and Cursor::_PreFetchBind(). Referenced by PersistentObject::_VersionsMatch(), RefBase::_Virtualise(), and ChainedRelationBase::ExistsCouple(). |
|
|
Definition at line 192 of file cConnection.cpp. References _DefaultCursor, and Cursor::_Prepare(). Referenced by OracleConnection::_Sql(), PersistentObject::_VersionsMatch(), RefBase::_Virtualise(), and ChainedRelationBase::ExistsCouple(). |
|
|
Implemented in OracleConnection. |
|
|
Implemented in OracleConnection. |
|
|
Implemented in OracleConnection. |
|
|
Implemented in OracleConnection. Referenced by ManyToOneRelationBase::DeleteCouple(), and Sql(). |
|
|
Reimplemented in OracleConnection. Definition at line 141 of file cConnection.cpp. References StrFree(). Referenced by OracleConnection::Abort(). |
|
|
Implemented in OracleConnection. |
|
|
Reimplemented in OracleConnection. Definition at line 76 of file cConnection.cpp. Referenced by OracleConnection::Commit(). |
|
|
Definition at line 109 of file cConnection.h. References LockingStrategy, and LS_MASK. Referenced by ObjRef::SetLockingStrategy(). |
|
|
Definition at line 114 of file cConnection.h. References ReadingStrategy, and RS_MASK. Referenced by ObjRef::SetReadingStrategy(). |
|
|
Definition at line 98 of file cConnection.h. References UpdatingStrategy, and US_MASK. Referenced by ObjRef::SetUpdatingStrategy(). |
|
|
Definition at line 104 of file cConnection.h. References WaitingStrategy, and WS_MASK. Referenced by ObjRef::SetWaitingStrategy(). |
|
|
Reimplemented in OracleConnection. Definition at line 127 of file cConnection.cpp. References StrFree(). Referenced by OracleConnection::Disconnect(). |
|
|
Definition at line 179 of file cConnection.cpp. |
|
|
Definition at line 163 of file cConnection.cpp. |
|
|
|
|
|
Definition at line 171 of file cConnection.cpp. |
|
|
Reimplemented in OracleConnection. Definition at line 94 of file cConnection.cpp. Referenced by OracleConnection::Rollback(). |
|
|
Reimplemented in OracleConnection. |
|
|
Reimplemented in OracleConnection. |
|
|
Definition at line 287 of file cConnection.cpp. References _Database, _Strategies, Database::CurrentLockingStrategy(), DEFAULT_LOCKING_STRATEGY, LockingStrategy, LS_Current, LS_Default, LS_Inherited, and LS_MASK. |
|
|
Definition at line 310 of file cConnection.cpp. References _Database, _Strategies, Database::CurrentReadingStrategy(), DEFAULT_READING_STRATEGY, ReadingStrategy, RS_Current, RS_Default, RS_Inherited, and RS_MASK. |
|
|
Definition at line 241 of file cConnection.cpp. References _Database, _Strategies, Database::CurrentUpdatingStrategy(), DEFAULT_UPDATING_STRATEGY, UpdatingStrategy, US_Current, US_Default, US_Inherited, and US_MASK. |
|
|
Definition at line 264 of file cConnection.cpp. References _Database, _Strategies, Database::CurrentWaitingStrategy(), DEFAULT_WAITING_STRATEGY, WaitingStrategy, WS_Current, WS_Default, WS_Inherited, and WS_MASK. |
|
|
Definition at line 66 of file cConnection.cpp. References _Sql(). Referenced by OracleConnection::Sql(). |
|
|
Definition at line 41 of file cConnection.h. |
|
|
Definition at line 29 of file cConnection.h. |
|
|
Definition at line 28 of file cConnection.h. |
|
|
Definition at line 40 of file cConnection.h. |
|
|
Definition at line 39 of file cConnection.h. |
|
|
Definition at line 31 of file cConnection.h. |
|
|
Definition at line 34 of file cConnection.h. |
|
|
Definition at line 38 of file cConnection.h. |
|
|
Definition at line 37 of file cConnection.h. |
|
|
Definition at line 33 of file cConnection.h. |
|
|
Definition at line 32 of file cConnection.h. |
|
|
Definition at line 30 of file cConnection.h. |
|
|
Definition at line 36 of file cConnection.h. |
|
|
Definition at line 35 of file cConnection.h. |
|
|
Definition at line 47 of file cConnection.h. Referenced by SetLockingStrategy(), SetReadingStrategy(), SetUpdatingStrategy(), and SetWaitingStrategy(). |
|
|
Definition at line 51 of file cConnection.h. Referenced by _Close(), _Execute(), _FetchNext(), _FetchPrev(), _Open(), _PreExecBind(), _PreFetchBind(), _Prepare(), OracleConnection::_Sql(), and OracleConnection::OracleConnection(). |
|
|
Definition at line 49 of file cConnection.h. |
|
|
Definition at line 50 of file cConnection.h. |
|
|
Definition at line 46 of file cConnection.h. |
|
|
Definition at line 44 of file cConnection.h. Referenced by SetLockingStrategy(), SetReadingStrategy(), SetUpdatingStrategy(), and SetWaitingStrategy(). |
|
|
Definition at line 45 of file cConnection.h. |
1.2.16