Storing client information
- Last Updated: June 12, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Hive 6.0
- Documentation
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.
| 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.