Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

Feedback

OConnection

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:

OConnection

~OConnection

operator=

Attributes:

operator==

operator!=

IsOpen

Operations:

Close

GetConnectString

GetDatabaseName

GetSession

Error Handling:

ErrorNumber

ErrorReset

GetErrorText

LookupErrorText


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents