Asynchronous requests

jes

Member
Hi !

Sometimes when I submit a request to the server (Oracle 8.1.7) I'm waiting the response for a (too) long time but my program is blocked until the response comes. I want to be able to manage the response time on my own but firing a time-out event callback into which I will cancel the requests. How is it possible ?
 
What is the nature of the request? Is it a stored program unit that does some work, or a wait for a lock, or a dbms_alert signal, or a dbms_pipe message?

------------------
Marco Kalter
Allround Automations
 
Originally posted by mkalter:
What is the nature of the request? Is it a stored program unit that does some work, or a wait for a lock, or a dbms_alert signal, or a dbms_pipe message?

The request is submitted by using a TOracleDataSet component with default properties (therefore with locking mode set to lmCheckImmediate and QueryAllRecords to true)
 
Okay, so you want to open a dataset in the background, and provide the opportunity to cancel this?

If so, see this topic .

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