JDBC connection timeout - how?
When I get a JDBC connection from the oracle driver to run any Stored Procedure, how can I specify the timeout from java so that after that time of period if the SP execution is still not complete java will get a time out. Basically I do not want to hold the connection forever if there is any problem in SP level.
Any sample code or link??
Thanks in advance