QueryTimeout
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
Description
The value of this option will set the default query timeout (in seconds) for all statements created by the connection.
Valid Values
0 | -1
When set to 0 (the initial default), there is no timeout. If an application calls the Statement.setQueryTimeout method to set a timeout value for a statement, the value specified in the setQueryTimeout method will override the default value specified by this connection option.
When set to -1, the driver query timeout functionality is disabled. The JDBC Client silently ignores calls to Statement.setQueryTimeout.
Default
0
Data type
int