LoginTimeout
- Last Updated: September 3, 2021
- 1 minute read
- DataDirect Connectors
- JDBC
- PostgreSQL 6.0
- Documentation
Purpose
Specifies 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 represents a number of seconds.
Behavior
If
set to 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
0
Data Type
Integer