on 06-01-2009 11:35 PM
Folks ,
I have writen some jdbc code and my applications hangs intermittently, we are using oracle database .
Thanks,
Manish
Hi Manish,
Your SQL query is running into infinite loops and because of that your application is hanging intermittently.
Did you check your SQL query by executing it before implementing it in your application. If it was working fine in SQL browser then data might causing some issue. Try to execute the query in SQL browser with the same data what your application is passing.
Hope this helps!
Regards,
Jaya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What do you mean by "applications hangs intermittently"?
But try to put following logic to figure out what is the time taken by jdbc sql query.
a) get system time before the execution of sql query and store it in temp variable t1
b) get system time after the execution of sql query and store it in temp variable t2
c) Find out the difference and print it
Once you are confident that SQL query is the one taking longer than expected time, check with Oracle experts in your org. for analyzing the log for the query and reasons for taking so much time
regards,
ganga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.