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.
  • 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. This value is stored locally and is used for database administration/monitoring purposes.

ApplicationName

Specifies the name of the application. This value is stored locally and is used for database administration/monitoring purposes.

ClientHostName

Specifies the host name of the client machine. This value is stored locally and is used for database administration/monitoring purposes.

ClientUser

Specifies the user ID. This value is stored locally and is used for database administration/monitoring purposes.

ProgramID

Specifies the driver and version information on the client. 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.