skip to main content
Using the driver : Using connection properties : Timeout properties
  

Try DataDirect Drivers Now

Timeout properties

The following table summarizes timeout connection properties.
Table 10. Timeout Properties
Property
Characteristic
Specifies the amount of time, in seconds, that the driver waits for a connection to be established before timing out the connection request.
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.
The default is 0.
Sets the default query timeout (in seconds) for all statements created by a connection.
If set to -1, the query timeout functionality is disabled.
If set to 0, the default query timeout is infinite (query does not time out).
If set to x, the driver uses the value as the default timeout for any statement that is created by the connection.
The default is 0.

See also

*Connection property descriptions