skip to main content
Using the Driver : Client Information : How Databases Store Client Information : Storing Client Information
  

Try DataDirect Drivers Now
Storing Client Information
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)
See "JDBC support" for more information about these JDBC methods.
*Using the JDBC extension methods provided in the com.ddtek.jdbc.extensions package. See "JDBC Extensions" for more information about the com.ddtek.jdbc.extensions package.
Table 12. Client Information Properties
Property
Characteristic
Defines accounting information to be stored in the database. This value is stored locally and is used for database administration/monitoring purposes.
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.
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.
Specifies the user ID to be stored in the database. This value is stored locally and is used for database administration/monitoring purposes.
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.