Hi,
I’m executing serveral queries at the same time against a dd.bb. throw a for loop, so they are secuentially executed.
Is it possible to execute them at the same time like a multi thread proccess?
Best regards. Roberto.
Hi,
I’m executing serveral queries at the same time against a dd.bb. throw a for loop, so they are secuentially executed.
Is it possible to execute them at the same time like a multi thread proccess?
Best regards. Roberto.
Hi Roberto,
You can only do this via Java. Methods in Servoy are single threaded.
Thanks ROCLASI.
I’ve found the solution…I’m gonna execute a store procedure wich will return an array of arrays. So each array will be one query.
Best regards. Roberto.
Robert(o),
Release 5.1 (public beta released today) comes with a plugin that allows a client to fire long tasks in the server (headless client plugin).
These tasks are executed asynchronously (the client does not block but gets called back with the result)
This can be used to run multiple queries in parallel on the server and collect the results.
Rob
I am starting a slow clap for the Servoy team. I just got through writing something like this with jsp in 3.5.10. It is time to move to 5!
Clap…clap…
Thanks a lot.
Just what I nedeed…Great job.!!!
Best regards. Roberto.