cx oracle - cx_Oracle: Connection keep alive -


i have program uses cx_oracle , receives large number of logs in chunks, , each chunk kinds of calculations before getting next chunk.

one of calculations can long (nothing can it, data sent remote server), , might lose connection.

how can keep connection alive without messing fetching?

thanks!

have same here, firewall terminates connection towards client (not database). tried thread executes "executesql('select * dual')" in intervals, when calculation in main thread starts, executesql() isn't executed until calculation has finished.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -