|
Class Description |
An Aggregate of Objects To Manage a Single ODBC Connection |
|
Class Name |
OConnectionSet |
|
Parent Class |
ULogObject |
|
Header Name |
|
|
Language |
C++ |
|
Author |
Brian N. Ceccarelli |
|
Location |
Apex, NC |
|
Date Written |
November 5, 1999 |
|
Last Updated |
August 31, 2002 |
|
Last Updated By |
Brian N. Ceccarelli |
|
Notes |
Even though one can establish a connection to an ODBC just |
|
See Also |
OStatement OCatalogStatement UFileStatement OOracleCatalogStatement OConnection OEnvironment OResourceManager |
|
# |
Inline |
Pure Virtual |
Virtual |
Method |
Description |
|
1 |
|
|
|
Constructor |
|
|
2 |
|
|
|
Constructor |
|
|
3 |
|
|
|
Connect to the ODBC Data Source |
|
|
4 |
|
|
|
Connect to the ODBC Data Source |
|
|
5 |
|
|
|
Stop all Queries and Disconnect from the Data Source |
|
|
6 |
|
|
|
Does Your ODBC OConnection Exist? |
|
|
7 |
|
|
|
Does your ODBC Environment Exist? |
|
|
8 |
|
|
|
Does a Statement Exist? |
|
|
9 |
|
|
|
ps_int32 oForceDBBrand(ps_int32 db_brand = DB_BRAND_UNKNOWN) |
Force the Brand of Database |
|
10 |
|
|
|
OCatalogStatement & oGetCatalogStatement() const |
|
|
11 |
|
|
|
OCatalogStatement * oGetCatalogStatementPtr() const |
|
|
12 |
|
|
|
Mutex * oGetConnectMutex() const |
|
|
13 |
|
|
|
Are You Connected to ODBC Data Source? |
|
|
14 |
|
|
|
OConnection & oGetConnection() const |
|
|
15 |
|
|
|
OConnection * oGetConnectionPtr() const |
|
|
16 |
|
|
|
ps_int32 oGetConnectionType() const |
|
|
17 |
|
|
|
Get the Name of ODBC Data Source |
|
|
18 |
|
|
|
ps_int32 oGetDeadlockWaitTimeBetweenRetries() const |
|
|
19 |
|
|
|
OEnvironment & oGetEnvironment() const |
|
|
20 |
|
|
|
OEnvironment * oGetEnvironmentPtr() const |
|
|
21 |
|
|
|
Messages * oGetMessages() const |
|
|
22 |
|
|
|
ps_int32 oGetNumberOfDeadlockRetries() const |
|
|
23 |
|
|
|
Get the Total Number Errors Detected for all Objects in the OConnectionSet |
|
|
24 |
|
|
|
ps_int32 oGetPacketSize() const |
|
|
25 |
|
|
|
ps_int32 oGetQuotedIdentifier(ps_char* quoted_identifer) const |
Get the Quoted Identifier the ODBC Connection |
|
26 |
|
|
|
ps_int8 oGetQuotedIdentifiersSw() const |
|
|
27 |
|
|
|
OStatement & oGetStatement(ps_int32 index) const |
|
|
28 |
|
|
|
OStatement * oGetStatementPtr(ps_int32 index) const |
|
|
29 |
|
|
|
ps_int32 oGetStatementType() const |
|
|
30 |
|
|
|
UFile * oGetUFile() const |
|
|
31 |
|
|
|
Get the UTC Time When You Opened the ODBC Connection |
|
|
32 |
|
|
|
ps_int8 oGetUseTimeoutsSw() const |
|
|
33 |
|
|
|
ps_void * oGetUserData() const |
|
|
34 |
|
|
|
Set the Connection Mutex Lock |
|
|
35 |
|
|
|
ps_int32 oSetConnectionType(ps_int32 connection_type = ODBC_NORMAL_CONNECTION_TYPE) |
Set the Type Connection the OConnectionSet Creates |
|
36 |
|
|
|
Set Wait Time Before Resending a SQL Command After Deadlocked |
|
|
37 |
|
|
|
Set the ODBCMessages Object for the OConnectionSet and all its Created Objects |
|
|
38 |
|
|
|
ps_int32 oSetNumberOfDeadlockRetries(ps_int32 number_of_retries = ODBC_OSTMT_DEADLOCK_RETRIES) |
Set the Number of Times This Class Resends a SQL Command Upon Receiving a Deadlock Victim Error |
|
39 |
|
|
|
ps_int32 oSetNumberOfStatements(ps_int32 number_of_statements_for_future_connections = 1) |
Set the Number of ODBC Statements the OConnectionSet Creates |
|
40 |
|
|
|
Set the Network Communication Packet Size (Bytes) |
|
|
41 |
|
|
|
|
|
|
42 |
|
|
|
ps_int32 oSetStatementType(ps_int32 statement_type = ODBC_NORMAL_STATEMENT_TYPE) |
|
|
43 |
|
|
|
Set the UFile for the OConnectionSet |
|
|
44 |
|
|
|
Set User Data on a OConnectionSet |
|
|
45 |
|
|
|
Turn On/Off Timeout Ability |
|
|
46 |
|
|
|
Destructor |
|
# |
Inline |
Pure Virtual |
Virtual |
Method |
Description |
|
1 |
|
|
|
Clean Up the OConnectionSet |
|
# |
Inline |
Pure Virtual |
Virtual |
Method |
Description |
Go to DBPowerSuite 7.9 Application Programming Interface.
Updated: Thu Jun 18 21:13:23 2009