Your application can store client information associated with a connection using any of the following methods:

  • Using the driver connection properties listed in the following table. This table lists the connection properties your application can use to store client information. Client information is stored locally. See "Connection Property Descriptions" for a detailed description of each property.
  • Using the following JDBC methods:
    • Connection.setClientInfo(properties)
    • Connection.setClientInfo(property_name, value)
  • Using the JDBC extension methods provided in the com.ddtek.jdbc.extensions package.
Table 1. Client Information Properties
Property Characteristic
AccountingInfo Defines accounting information to be stored in the database. This value is stored locally and is used for database administration/monitoring purposes.
ApplicationName Specifies the name of the application to be stored in the database. This value is stored locally and is used for database administration/monitoring purposes.
ClientHostName Specifies the host name of the client machine to be stored in the database. This value is stored locally and is used for database administration/monitoring purposes.
ClientUser Specifies the user ID to be stored in the database. This value is stored locally and is used for database administration/monitoring purposes.
ProgramID

Specifies the driver and version information on the client to be stored in the database. This value is stored locally and is used for database administration/monitoring purposes.

Refer to JDBC support in the Progress DataDirect for JDBC Drivers Reference for more information about JDBC methods.