Module mimir::flags [−][src]
ODPI-C public bitflags.
Structs
ODPIAuthMode |
This enumeration identifies the mode to use when authorizing connections to the database. |
ODPIConnCloseMode |
This enumeration identifies the mode to use when closing connections to the database. |
ODPICreateMode |
This enumeration identifies the mode to use when creating connections to the database. Note that the OCI objects mode is always enabled. |
ODPIExecMode |
This enumeration identifies the mode to use when creating connections to the database. Note that the OCI objects mode is always enabled. |
ODPIOpCode |
This enumeration identifies the types of operations that can take place during object change and query change notification. It is used both as a filter when determining which operations to consider when sending notifications as well as identifying the operation that took place on a particular table or row when a notification is sent. Multiple values can be OR'ed together to specify multiple types of operations at the same time. |
ODPIPoolCloseMode |
This enumeration identifies the mode to use when closing pools. |
ODPISubscrQOS |
This enumeration identifies the quality of service flags for sending notifications to subscriptions. |
Constants
DPI_MODE_AUTH_DEFAULT |
Default value used when creating connections. |
DPI_MODE_AUTH_PRELIM |
Used together with DPI_MODE_AUTH_SYSDBA or DPI_MODE_AUTH_SYSOPER to authenticate for certain administrative tasks (such as starting up or shutting down the database). |
DPI_MODE_AUTH_SYSASM |
Authenticates with SYSASM access. |
DPI_MODE_AUTH_SYSBKP |
Authenticate with SYSBKP access. |
DPI_MODE_AUTH_SYSDBA |
Authenticates with SYSDBA access. |
DPI_MODE_AUTH_SYSDGD |
Authenticate with SYSDGD access. |
DPI_MODE_AUTH_SYSKMT |
Authenticate with SYSKMT access. |
DPI_MODE_AUTH_SYSOPER |
Authenticates with SYSOPER access. |
DPI_MODE_AUTH_SYSRAC |
Authenticate with SYSRAC access. |
DPI_MODE_CONN_CLOSE_DEFAULT |
Default value used when closing connections. |
DPI_MODE_CONN_CLOSE_DROP |
Causes the session to be dropped from the session pool instead of simply returned to the pool for future use. |
DPI_MODE_CONN_CLOSE_RETAG |
Causes the session to be tagged with the tag information given when the connection is closed. A value of NULL for the tag will cause the tag to be cleared. |
DPI_MODE_CREATE_DEFAULT |
Default value used when creating connections. |
DPI_MODE_CREATE_EVENTS |
Enables events mode which is required for the use of advanced queuing (AQ) and continuous query notification (CQN). |
DPI_MODE_CREATE_THREADED |
Enables threaded mode. Internal OCI structures not exposed to the user are protected from concurrent access by multiple threads. Error information is also managed in thread local storage. |
DPI_MODE_EXEC_ARRAY_DML_ROWCOUNTS |
Enable getting row counts for each DML operation when performing an array DML execution.
The actual row counts can be retrieved using the function |
DPI_MODE_EXEC_BATCH_ERRORS |
Enable batch error mode. This permits an an array DML operation to succeed even if some
of the individual operations fail. The errors can be retrieved using the function
|
DPI_MODE_EXEC_COMMIT_ON_SUCCESS |
If execution completes successfully, the current active transaction is committed. |
DPI_MODE_EXEC_DEFAULT |
Default mode for execution. Metadata is made available after queries are executed. |
DPI_MODE_EXEC_DESCRIBE_ONLY |
Do not execute the statement but simply acquire the metadata for the query. |
DPI_MODE_EXEC_PARSE_ONLY |
Do not execute the statement but only parse it and return any parse errors. |
DPI_MODE_POOL_CLOSE_DEFAULT |
Default value used when closing pools. If there are any active sessions in the pool an error will be raised. |
DPI_MODE_POOL_CLOSE_FORCE |
Causes all of the active connections in the pool to be closed before closing the pool itself. |
DPI_OPCODE_ALL_OPS |
Indicates that notifications should be sent for all operations on the table or query. |
DPI_OPCODE_ALL_ROWS |
Indicates that all rows have been changed in the table or query (or too many rows were changed or row information was not requested). |
DPI_OPCODE_ALTER |
Indicates that the registered table or query has been altered. |
DPI_OPCODE_DELETE |
Indicates that a delete operation has taken place in the table or query. |
DPI_OPCODE_DROP |
Indicates that the registered table or query has been dropped. |
DPI_OPCODE_INSERT |
Indicates that an insert operation has taken place in the table or query. |
DPI_OPCODE_UNKNOWN |
An unknown operation has taken place. |
DPI_OPCODE_UPDATE |
Indicates that an update operation has taken place in the table or query. |
DPI_SUBSCR_QOS_BEST_EFFORT |
Perform query notification in best effort mode which may result in notifications being sent when the query has not in fact changed. This is needed for complex queries that cannot be registered in guaranteed mode. |
DPI_SUBSCR_QOS_DEREG_NFY |
When the notification has been received, the subscription is removed. |
DPI_SUBSCR_QOS_NONE |
No QOS |
DPI_SUBSCR_QOS_QUERY |
Perform query notification instead of database change notification. Notification is done in guaranteed mode which guarantees that the query has in fact changed. |
DPI_SUBSCR_QOS_RELIABLE |
Notifications are sent reliably. If the database fails, the notifications are not lost. This is not supported for nonpersistent queues or buffered messaging. |
DPI_SUBSCR_QOS_ROWIDS |
Information on the rows affected by the database or query change is sent along with the notification. |