6.2. ODPI-C Enumeration dpiConnCloseMode

This enumeration identifies the mode to use when closing connections to the database.

Value

Description

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.