4D v16Closing a connection |
||
|
4D v16
Closing a connection
Closing a connection
Here we use the OCIHandleFree command to free the handles, and then close the session. When handles are structured hierarchically, closing the parent handle also closes its related handles. The code below is used to disconnect from the Oracle server. We could also use the OCILogoff command instead. OCISessionEnd deletes the session. After this, we can free the handles one by one, or just free the environment handles, which in turn will release the other handles. Source code for OCI_DISCONNECT project method: //Method: DISCONNECT
|
PROPERTIES
Product: 4D
HISTORY
ARTICLE USAGE
4D for OCI ( 4D v16) |