LoginTimeout
- Last Updated: May 13, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
Purpose
The amount of time, in seconds, that the driver waits for a connection to be established before timing out the connection request.
Valid Values
0 | x
where:
x
is a positive integer that specifies a number of seconds.
Behavior
If set to 0, inactive connections are kept open.
If set to x, inactive connections are closed after the specified number of seconds passes.
Data Source Methods
public Integer getLoginTimeout()
public void setLoginTimeout(Integer)
Default Value
0
Data Type
Integer