Thank you everyone for your replies and welcomes
Correct me if I'm wrong, but I believe that
waits until the statement is executed.
It does, that's the main reason the statement execution is in a
thread.
I was under the impression that rs becomes true when the stored procedure ends execution.
It doesn't though. In my case it returns false but it will do!
I believe that execute blocks. More logging statements would certainly help you.
True! I could use logging statements and check these to see when the stored procedure ends but it costs a lot!
If we assume that the logs are a table I would have to every so often run a query there to check if the procedure ended.
Doesn't sound like the best solution to me.
Thank you for your help both!