Skip Headers
Oracle® C++ Call Interface Programmer's Guide
10g Release 2 (10.2)

Part Number B14294-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

Common OCCI Constants

Table 12-2 defines the common constants used by all OCCI classes. Constants that are defined for use within specific classes are summarized at the beginning of class-specific sections.

Table 12-2 Enumerated Values Used by All OCCI Classes

Attribute Options
LockOptions
  • OCCI_LOCK_NONE clears the lock setting on the Ref object.

  • OCCI_LOCK_X indicates that the object should be locked, and to wait for the lock to be available if the object is locked by another session.

  • OCCI_LOCK_X_NOWAIT indicates that the object should be locked, and returns an error if it is locked by another session.

CharSetForm
  • OCCI_SQLCS_IMPLICIT indicates that the local database character set should be used.

  • OCCI_SQLCS_NCHAR indicates that the local database NCHAR set should be used.

  • OCCI_SQLCS_EXPLICIT indicates that the charcter set is specified explicitly.

  • OCCI_SQLCS_FLEXIBLE means that the character set is a PL/SQL flexible flexible parameter.

LobOpenMode
  • OCCI_LOB_READONLY indicates that the LOB is in a read-only mode.

  • OCCI_LOB_READWRITE indicates that the LOB is both in read and write mode.

ReturnStatus
  • OCCI_SUCCESS indicates that the call has been made successfully (transaction failover mode).

  • FO_RETRY indicates that the call should be retried (transaction failover mode).