Oracle Request Timeout - OCI

Can I set the timeout for Oracle OCI calls (e.g. OCIStmtExecute)?

thanks

+3
source share
3 answers

There is no way provided OCI.

You can create Timerand issue OCIBreak()a timeout.

OCIBreak() It is a safe stream and a safe signal.

+5
source

Timeouts can be set on the oracle server side, but not through any OCI APIs.

0
source

Source: https://habr.com/ru/post/1706526/


All Articles