JDBC connection timeout
843854Aug 4 2004 — edited Aug 5 2004Hi,
Is there a way to change the timeout in a JDBC session? I don't want to change the timeout for connecting to the database.
I actually have a program that continuously updates a table. If I go offline, it starts throwing exceptions after a 10 second wait. If within those 10 seconds, I go online again, it makes all the pending transactions and continues updating the table like normal. How can I change this timeout interval?
I am using jTDS for MS SQL.
Thanks.