Sets the number of seconds that this SQLServerDataSource object will wait while trying to make a connection.
public void setLoginTimeout(int loginTimeout)
Parameters
loginTimeout
An integer value that represents the number seconds to wait. Zero means that there is no time out.
Remarks
This setLoginTimeout method is specified by the setLoginTimeout method in the javax.sql.DataSource interface.