.. _dpiCreateMode:

ODPI-C Enumeration dpiCreateMode
--------------------------------

This enumeration identifies the mode to use when creating connections to the
database. Note that the OCI objects mode is always enabled.

===========================  ==================================================
Value                        Description
===========================  ==================================================
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.
===========================  ==================================================
