LoginTimeOut
database parameter
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
JDB JDBC
ODBC (if driver and back-end DBMS support this feature)
Syntax
|
1 |
LoginTimeOut=value |
|
Parameter |
Description |
|---|---|
|
value |
The number of seconds you want the driver to wait |
Default value
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
To set the LoginTimeOut value to wait 60 seconds for a login
request:
-
Database profile
Type 60 in the Login Timeout box on the Network page in the
Database Profile Setup dialog box. -
Application
Type the following in code:
1SQLCA.DBParm="LoginTimeOut=60"