LoginTimeOut

Description

Specifies the number of seconds the JDBC or ODBC driver should wait for a login request to a JDBC database or an ODBC data source.

Applies to

Syntax

LoginTimeOut=value

Parameter

Description

value

The number of seconds you want the driver to wait for a login request

Default

ODBC: LoginTimeOut=15; JDBC: LoginTimeOut=0

Usage

If you set LoginTimeOut to 0, PowerBuilder does not call the JDBC or ODBC driver to set the LoginTimeOut value and instead waits the number of seconds specified by the JDBC or ODBC driver's client software. If you set LoginTimeOut to a value greater than 0, PowerBuilder does call the JDBC or ODBC driver to set the LoginTimeOut value.

Examples

Example 1

To set the LoginTimeOut value to wait 60 seconds for a login request: