LongConnection

Description

Allows PowerServer (2022 or later) to have the same long running database connection as PowerBuilder.

Applies to

ASE (ODBC)

MySQL

Oracle

PostgreSQL

SQL Server

SQL Anywhere (ODBC)

Syntax

LongConnection=value

Values are:

  • 0 (default) -- have short-lived database connections

  • 1 -- have long running database connections

Default value

0.

Usage

If the installable cloud app has any feature (such as local temp table) that require the same database connection in the whole user session, you can set LongConnection=1. For more, refer to DB connection.

Examples

DBParm = Database='nvo2csharp',Provider='SQLNCLI11',LongConnection=1