What is Timeout ?

The public static void DriverManager.setLoginTimeOut(int seconds) method can be used by j2ee component to establish the maximum time the DriverManager waits for a response from DBMS before timeout.
The public static void Drivermanager.getLoginTimeOut() is used to retrieve from the Drivermanager the maximum time the DriverManager is set to wait until it times out.It return an integer which means the number of seconds.

No comments:

Post a Comment