This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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.