Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDBC connection timeout

843854Aug 4 2004 — edited Aug 5 2004
Hi,

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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 2 2004
Added on Aug 4 2004
6 comments
1,451 views