skip to main content
Using the JDBC Client : JDBC Connection Properties : QueryTimeout
 

QueryTimeout

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