Oracle Objects for OLE C++ Class Library Release 8.1.7 Part Number A85258-01 |
|
dbsess
| The session under which you want to open this database.
|
dbname
| The name of the database to which you want to connect.
|
server
|
|
username
| The username you wish to use to log into the database.
|
pwd
| The database password for the user username.
|
options
| Options to create the database object.
|
Constant
| Value
| Description
|
ODATABASE_DEFAULT
| 0
| Default Mode
Field (column) values not explicitly set are set to NULL when using AddNewRecord or StartEdit. The NULL values override any server column defaults. Wait on row locks when using Edit ("SELECT... FOR UPDATE"). Non-blocking SQL functionality will not be enabled. |
ODATABASE_ORAMODE
(Formerly ODATABASE_PARTIAL_INSERT) | Oracle Mode
Let Oracle database set the default field (column) values when using AddNewRecord or StartEdit. The Oracle default column values are refetched from database immediately after the insert or add operation. Note: If you use triggers, we recommend you refetch data using the full Oracle Mode. | |
ODATABASE_EDIT_NOWAIT
| 2
| Lock No-Wait Mode
Do not wait on row locks. When you use StartEdit to update a row that is locked by another user or process, Lock No-Wait mode results in an immediate return of an error code. Note: (1) Lock No-Wait modes also affect any SQL statements processed using ExecuteSQL. (2) This option may be of limited use with Dynasets based on heavily used tables. As documented, this option causes ORA 54 errors to occur with Row Locks. But it will also do the same for other resource contentions. In certain cases a considerable number of ORA 54 errors may be raised. You will want to test your application with a realistic database load to see if this affects you. |
ODATABASE_NO_REFETCH
| 4
| Oracle Mode (No Refetch)
Like Oracle Mode, but data is not refetched to the local cache, boosting performance. Caution: Use the No Refetch mode only when you intend to insert rows without editing them, because server column defaults will cause inconsistencies between server data and the local cache. Attempting to edit after inserting in this mode will cause a "Data has been modified" (4119) error. |
ODATABASE_NONBLOCK
| 8
| Non-Blocking Mode
This mode turns on Non-Blocking mode on SQL statement execution. Non-Blocking mode affects the SQL statements processed using the ExecuteSQL, CreateDynaset or CreateSQL methods. Note that this parameter only applies to Windows 3.1 where it is used solely to prevent hanging during cooperative multitasking. It has no effect in Windows 95 or NT, in which cases the parameter is ignored. You cannot use this parameter to implement non-blocking via polling or other asynchronous callbacks. |
![]() Copyright copy; 1996-2000, Oracle Corporation. All Rights Reserved. |
|