Re: how to control DriverManager.getConnection timeout period
Posted by:
Tan Hobby
Date: February 02, 2015 09:50AM
I change to use mysql-connector-java-5.1.34-bin.jar, and use "DriverManager.setLoginTimeout(20);" before DriverManager.getConnection(xxx), but DriverManager.getConnection() still not return after 20 sec. so seems it does not work by using new connectj.
Subject
Written By
Posted
February 02, 2015 07:34AM
February 02, 2015 09:23AM
Re: how to control DriverManager.getConnection timeout period
February 02, 2015 09:50AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.