Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
DB Access Module for Oracle OCI User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

2.2 Databases and Connections

In order for a SourcePro DB application to interact with a database, an RWDBDatabase instance must be created by calling:

All arguments are of type RWCString. For Oracle OCI, you must provide the following:

Here are two examples of opening a database in an Oracle OCI service. In the first example, the accessLib is defined as ORACLE_OCI, indicating that the application must be linked with the static version of the Access Module:

The second example shows how to open the same database from a Windows application. In this case, the accessLib is defined as oci8012d.dll, which indicates that the application will dynamically load the Access Module at runtime:



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.