LoginTimeout
- Last Updated: August 14, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Snowflake 6.0
- TeamCity 6.0
- 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
-1 | 0 | x
where:
x
is a positive integer that specifies a number of seconds.
Behavior
If set to -1 | 0, the driver does not time out a connection request.
If set to x, the driver waits for the specified number of seconds before returning control to the application and throwing a timeout exception.
Data Source Methods
public Integer getLoginTimeout()
public void setLoginTimeout(Integer)
Default Value
60
Data Type
Integer