Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
DB Interface Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWDBEnvironmentHandle

Module:  DB Interface Module   Group:  Database Classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/db/envhandl.h>

RWDBDatabase::connect(false);
RWDBDatabase myDbase = RWDBManager::database( ... );
RWDBEnvironmentHandle* envHandle = myDbase.environmentHandle();

Description

RWDBEnvironmentHandle is a base class from which a family of implementation specific classes is derived. RWDBDatabase::environmentHandle() returns a pointer to this base class. To set connect time configuration parameters or configuration properties for an entire application, the application downcasts this pointer to the appropriate type, and uses its implementation-specific features. The configuration parameters that an application can set vary widely among vendors. Please see the guide for your Access Module.


NOTE -- You must link the appropriate DB Access Module directly with your application in order to downcast an instance of RWDBEnvironmentHandle to a particular database type. Using this class reduces the portability of your application.

Related Classes

None.

Public Constructor

RWDBEnvironmentHandle();

Public Member Functions

bool 
cacheResultSchemas() const;
bool 
cacheResultSchemas(bool value);
virtual bool 
foreignKeysFromView();
virtual bool
foreignKeysFromView(bool value);
size_t 
maxCachedResultSets() const;
size_t 
maxCachedResultSets(size_t value);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.