SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Provides methods for setting and retrieving certain connect time and configuration parameters with Oracle OCI. More...
#include <rw/db/ocisrc/ocienvh.h>
Public Member Functions | |
bool | foreignKeysFromView () |
bool | foreignKeysFromView (bool value) |
bool | ociLocatorForDefaultBlob () |
void | ociLocatorForDefaultBlob (bool) |
bool | ociLocatorForDefaultString () |
void | ociLocatorForDefaultString (bool) |
bool | useTimestamp () const |
bool | useTimestamp (bool value) |
Public Member Functions inherited from RWDBEnvironmentHandle | |
RWDBEnvironmentHandle () | |
bool | cacheResultSchemas () const |
bool | cacheResultSchemas (bool value) |
size_t | maxCachedResultSets () const |
size_t | maxCachedResultSets (size_t value) |
Class RWDBOCIEnvironmentHandle provides methods for setting and retrieving certain connect time and configuration parameters.
|
virtual |
Returns true
if a higher-performance version of RWDBTable::foreignKeys() is used, false
otherwise. The default value is false
.
Reimplemented from RWDBEnvironmentHandle.
|
virtual |
Sets whether the higher-performance version of RWDBTable::foreignKeys() should be used. A value is true
enables the higher-performance version. The default is false
to enable the standard version.
The higher-performance version is implemented by installing a stored procedure in the database for quicker system table queries. Returns the previous value.
Reimplemented from RWDBEnvironmentHandle.
bool RWDBOCIEnvironmentHandle::ociLocatorForDefaultBlob | ( | ) |
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
.
This method was previously used to distinguish between Oracle server types RAW
and BLOB
during the creation of tables.
void RWDBOCIEnvironmentHandle::ociLocatorForDefaultBlob | ( | bool | ) |
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.
This method was previously used to distinguish between Oracle server types RAW
and BLOB
during the creation of tables.
bool RWDBOCIEnvironmentHandle::ociLocatorForDefaultString | ( | ) |
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 RWDBOCIEnvironmentHandle::ociLocatorForDefaultString | ( | bool | ) |
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.
This method was previously used to distinguish between Oracle server types LONG
and CLOB
during the creation of tables.
|
inline |
Returns true
if TIMESTAMP
should be used for both table creation and sending and receiving data, otherwise returns false
. The default value is true
.
|
inline |
Sets the type used for table creation or sending and receiving data. If value is true
, the TIMESTAMP
type is used, otherwise DATE
is used.
TIMESTAMP
setting on an object between executions; changing the setting while the object is still in scope does not have an effect. Copyright © 2014 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.
Provide feedback to Rogue Wave about its documentation.