The Tutorial describe you a JDBC Connection timeout. In this program, we want to explain you a code that help you in understand the maximum time for which driver can wait to connect database.
Understand with Example
The code include a class JDBC Connection Timeout, inside the main method we include the list of following steps -
On the execution of code,the code attempt to establish a connection between url and database in 10 sec.Finally the println print the element from the database.
Connection Login Timeout : 10 First Name Last Name girish tewari mahendra singh komal singh yogesh pandey pinku tripathi deepak tripathi
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: JDBC connection timeout
Post your Comment