I'm trying to set query timeout for a PreparedStatement object (below is the code snippet).
I set the query timeout to "1" second just for testing first. But I notice the query takes longer than 1 second but it is successfully executed. No SQLException is thrown. I'm confused why this doesn't work. Can someone please advise?
Thanks in advance for all the help.
Joined: Oct 13, 2007
Sorry to bother you guys again.
Just want to follow up if anyone knows some pointers to my question.
Thanks again in advance for the help.
Let me know if I can provide more information.