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.17 Contents of RWDBEnvironmentHandle

The DB Access Module for Oracle OCI returns an environment handle that has the type RWDBOCIEnvironmentHandle. This handle provides methods that an application can use to set or retrieve certain connect time and configuration parameters.

2.17.1 Foreign Keys from Views

The DB Access Module for Oracle OCI implements the virtual functions foreignKeysFromView() and foreignKeysFromView(bool value).

Please see the section on RWDBEnvironmentHandle in the DB Interface Module Reference Guide for details about those two functions.

2.17.2 Timestamp

The timestamp methods allow DB Access Module for Oracle OCI to use Oracle's DATE type, instead of TIMESTAMP, for both table creation and for sending and retrieving data.

These methods also allow an Oracle OCI client to communicate with another version of Oracle server that doesn't use TIMESTAMP. This value defaults to true.


NOTE -- Be careful to maintain the same TIMESTAMP setting on an object between executions; changing the setting while the object is still in scope does not have an effect.

2.17.3 Setting Types in Tables (deprecated)


NOTE -- Methods ociLocatorForDefaultBlob and ociLocatorForDefaultString are deprecated. They were previously used to distinguish between Oracle server types LONG and CLOB, and RAW and BLOB during the creation of tables. This can now be achieved by setting the native types in the table's RWDBSchema. These methods exist for backward compatibility only.


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.