为了解决dblink僵死问题,我要问问
是支持的
DriverManager
public static void setLoginTimeout(int seconds)设置驱动程序试图连接到某一数据库时将等待的最长时间,以秒为单位。
public static Connection getConnection(String url,
String user,
String password)
throws SQLException试图建立到给定数据库 URL 的连接。DriverManager 试图从已注册的驱动程序集中选择一个适当的驱动程序。