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.
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.
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.
bool useTimestamp() const; bool useTimestamp( bool value );
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.
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.
bool ociLocatorForDefaultString();
Deprecated, see note above. Returns true if, when creating tables, a Locator column is associated with an RWDBColumn that has an RWDBValue::ValueType of String. The default value is false.
void ociLocatorForDefaultString(bool);
Deprecated, see note above. When creating tables, sets the flag for controlling whether or not a Locator column is associated with an RWDBColumn that has an RWDBValue::ValueType of String.
bool ociLocatorForDefaultBlob();
Deprecated, see note above. Returns true if, when creating tables, a Locator column is associated with an RWDBColumn that has an RWDBValue::ValueType of Blob. The default value is false.
void ociLocatorForDefaultBlob(bool);
Deprecated, see note above. When creating tables, sets the flag for controlling whether or not a Locator column is associated with an RWDBColumn that has an RWDBValue::ValueType of Blob.
© 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.