executing separate queries via threading
I am working on a project where I've to implement thread for this task. I do not have much idea about threading.
Please can anyone help me with this problem.
I've to display two tables (tb1 & tb2) simultaneously from Oracle database using threading in java.
when clicking the show button the two different select queries:
Quote:
1. select * from tb1
2. select * from tb2
should be executed simultaneously showing the two tables. how can I do it using threading in Java?
Re: executing separate queries via threading
Re: executing separate queries via threading
here's a basic example in how to execute something in parallel:
...edited by moderator