ForceDisconnectEnabled

Allows you to force disconnection from the database using ttAdmin -disconnect.

The ttConfiguration built-in procedure does not return the value of the ForceDisconnectEnabled attribute.

Note:

  • By default, the forced disconnect feature is disabled. Existing direct-connect applications may find it undesirable for TimesTen to spawn the thread that is required to implement this functionality. See Force Disconnect.

  • Users should not specify different values of this attribute for different database connections. If the force disconnect feature is desired, add ForceDisconnectEnabled=1 to the DSN definition in the sys.odbc.ini file.

Required Privilege

No privilege is required to change the value of this attribute.

Usage in TimesTen Scaleout and TimesTen Classic

This attribute is supported in TimesTen Classic but not supported in TimesTen Scaleout.

Setting

Set ForceDisconnectEnabled as follows:

Where to set the attribute How the attribute is represented Setting

C or Java programs or UNIX and Linux systems odbc.ini file in TimesTen Classic

ForceDisconnectEnabled

0 (default) - Do not allow forced disconnections.

1 - Allow forced disconnections.

Windows ODBC Data Source Administrator

N/A