ConnectionRetryDelay
- Last Updated: March 13, 2023
- 1 minute read
- DataDirect Connectors
- JDBC
- Microsoft SQL Server 6.0
- Documentation
Purpose
The number of seconds the driver waits between connection retry attempts when ConnectionRetryCount is set to a positive integer.
Valid values
0 | x
where:
- x
- is a number of seconds.
Behavior
If set to 0, the driver does not delay between retries.
If set to x, the driver waits between connection retry attempts the specified number of seconds.
Example
If ConnectionRetryCount is set to 2, this property is set to
3, and alternate servers are specified using the AlternateServers
property, the driver retries the list of servers (primary and alternate) twice after the
initial retry attempt. The driver waits 3 seconds between retry attempts.
Notes
When MultiSubnetFailover is enabled, the ConnectionRetryDelay connection property is ignored.
Data source method
public Integer
getConnectionRetryDelay()
public void
setConnectionRetryDelay(Integer)
Default
1 (second)
Data type
Int