As of 6.1.2, the Microsoft JDBC Driver for SQL Server supports setting the socket timeout on the connection.
There are now two ways to setup the socket timeout:
jdbc:sqlserver://localhost;userName=sa;password=PASSW0RD;database=master;socketTimeout=10000;
SQLServerDataSource#setSocketTimeout(int)
As of 6.1.7, the Microsoft JDBC Driver for SQL Server supports a third way to setup the socket timeout:
Connection#setNetworkTimeout(Executor executor, int milliseconds)
There was an error while loading. Please reload this page.