Driver properties
- Last UpdatedJan 04, 2023
- 2 minute read
- PI System
- PI SQL Client JDBC 2021
- Developer
Driver properties are used to specify details for making a connection to the underlying database. PI SQL Client JDBC has only optional properties. The properties are not case sensitive.
These driver properties can only be specified if exposed by the JDBC client or from a development environment. For example, driver properties can be exposed by DBVisualizer.
Driver properties
The following driver properties can be used with PI SQL Client JDBC:
|
Driver property |
Description |
Examples |
|---|---|---|
|
User |
Username for PI SQL DAS (RTQP) login. |
|
|
Password |
Password for PI SQL DAS (RTQP) login. |
|
|
Trusted Connection |
Specifies whether Kerberos authentication is used to establish the connection. Values:
|
|
|
Log File |
Full path and file name for the log file. |
|
|
Log to Console |
Print log messages to console. Values:
|
|
|
Log Level |
Specifies granularity of messages to be logged. Values: 0-5 See Standard logging levels for what is logged at each level. |
|
|
Use Keytab |
Specifies whether to use Java KeyTab to get a Kerberos ticket when Trusted Connection is set to True. Has no effect when Trusted Connection is set to False. Values:
|
|
|
Initial Catalog |
Specifies the initial catalog. Note: By default, the data model for PI SQL Client consists of one catalog - Master. This catalog contains a set of tables and table-valued functions. To create other catalogs, after successful connection, execute the create catalog query (). |
|
|
Command Timeout |
Specifies the command timeout in seconds. Enforces the default query timeout for all statements originated from this connection. Can be overwritten per statement. Defaults to 0 (no timeout). |
|
|
Time Zone |
Defaults to Local. You can select a specific time zone used for parsing of timestamp literals and for rendering of timestamp column values. Supports IANA time zone format. Note: PI SQL Client JDBC uses the local time zone of the client (not the server) |
|
|
Query Date |
Defaults to Latest. You can enter any PI time expression. See the PI Server topic, PI Time. |
|