Skip to main content

DBP Parameters

The PPJ Framework supports a limited set of the DBP_ parameters that are supported in SAL applications. Most of the database parameters used in the original SQLWindows/Team Developer application correspond to standard ADO.NET properties, or are database-specific parameters that must be configured in the connection string defined in sql.config.

Currently the PPJ Framework supports the following parameters:

DBP_BRANDReturns the value defined in sql.config for the brand attribute.
DBP_VERSIONReturns the value defined in sql.config for the version attribute.
DBP_LOCKWAITTIMEOUTReturns/Sets the timeout value.
DBP_AUTOCOMMITTurns on/off autocommit mode.
DBP_ISOLEVELReturns/Sets the isolation level string.
DBP_PRESERVETurns on/off result set mode.

Any other parameter is not supported. At runtime, if the application uses an unsupported parameter, a warning will be logged in the output window (if debugging) and in the log file if the application is started with the /log startup argument.