Query Thread Active

When I send an Insert statement and it fails, when i try again gives me an error "Query thread is still active".
I don't know how to stop that thread (stoping program, or IDE or PC doesn't work)
The server log show me that a connection is not dropped when the query fails.

 
I tried this, but it works just fine. I assume you have set TOracleQuery.Threaded to True. How do you handle the exception? How exactly do you retry the insert? This can be tricky in a multi-threaded environment.

------------------
Marco Kalter
Allround Automations
 
Back
Top