Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages   Examples  

OCICPP::db Class Reference

Interaction class with database(s). More...

List of all members.

Static Public Methods

void init (ub4 InitMode=OCI_DEFAULT)
Connectionconnect (const string &tnsname, const string &user, const string &password)
void connect (const string &tnsname, const string &user, const string &password, Connection &con)

Static Public Attributes

OCIEnv* envhp = (OCIEnv *)0
ub4 InitMode = 0


Detailed Description

Interaction class with database(s).


Member Function Documentation

void OCICPP::db::connect ( const string & tnsname,
const string & user,
const string & password,
Connection & con ) [inline, static]
 

Connect to the database accessible throught the TNS-Alias tnsname. Connect as user with the password password. The reference con is initialized to represent this connection.

Connection * OCICPP::db::connect ( const string & tnsname,
const string & user,
const string & password ) [inline, static]
 

Connect to the database accessible throught the TNS-Alias tnsname. Connect as user with the password password.

Returns:
Connection-Instance associated to this database connection

void OCICPP::db::init ( ub4 InitMode = OCI_DEFAULT ) [inline, static]
 

Initialize the OCIC++ library


The documentation for this class was generated from the following files:
Generated at Tue Jun 12 10:37:30 2001 for OCI C++ Library by doxygen1.2.4-20010128 written by Dimitri van Heesch, © 1997-2001