Non blocking and parallel execution question
Non blocking and parallel execution question
Hi support
I use Delphi 2007
Oracle 10G
Odac professional 6.25.0.12
windows XP SP2
OraSession.Direct := true
OraSession.optimizermode := omFirstRows
All oraquery have NonBlocking = true and FetchAll = true;
In my application i have one session that execute a query and display the resulset into a dbgrid, while the query is Executed i read
the RowsProcessed property and display the download status to the user, the application works great, but when i run other query (needing a long time before return)
on the same session the previous query that was Fetching data is "paused" until the new one ends its run.
How i can avoid this behavior ?
Thanks in advance Paolo
I use Delphi 2007
Oracle 10G
Odac professional 6.25.0.12
windows XP SP2
OraSession.Direct := true
OraSession.optimizermode := omFirstRows
All oraquery have NonBlocking = true and FetchAll = true;
In my application i have one session that execute a query and display the resulset into a dbgrid, while the query is Executed i read
the RowsProcessed property and display the download status to the user, the application works great, but when i run other query (needing a long time before return)
on the same session the previous query that was Fetching data is "paused" until the new one ends its run.
How i can avoid this behavior ?
Thanks in advance Paolo
Hi,
this was the reason for my request:
http://crlab.com/forums/viewtopic.php?t=11023
If this is enabled you have a chance to react on such situations.
Greetings
Jens
this was the reason for my request:
http://crlab.com/forums/viewtopic.php?t=11023
If this is enabled you have a chance to react on such situations.
Greetings
Jens
Maybe usefulljfudickar wrote:Hi,
this was the reason for my request:
http://crlab.com/forums/viewtopic.php?t=11023
If this is enabled you have a chance to react on such situations.
Greetings
Jens
By
If you are interested in visual threaded dataset you can also have a look at my jvcl implementation of odac datasets.
With this implementation you get a modal or nonmodal dialog which shows the execution while the fetching is done in the backend thread.
You find it here : http://homepages.codegear.com/jedi/jvcl/
Greetings
Jens
With this implementation you get a modal or nonmodal dialog which shows the execution while the fetching is done in the backend thread.
You find it here : http://homepages.codegear.com/jedi/jvcl/
Greetings
Jens