Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
|
A connection object is primarily an internal bookkeeper. Multiple database objects within the same session that use the same connection information (database name, username, and password) share a single connection to the Oracle database. You can use an OConnection object to ask for the database name and connection string that were used to start the connection. OConnection is a subclass of OOracleObject.
You can get OConnection objects, using the GetConnection method, from an OConnectionCollection object, an ODatabase object, or an ODynaset object.
The OConnection class supports the following methods:
Construction and destruction:
Attributes:
Operations:
Error Handling: