This chapter describes using the Teradata JDBC Driver software in Java programs, and guides you through the process of getting the Teradata JDBC Driver running on site:
This section lists the necessary steps for a standalone Java application to use the Teradata JDBC Driver.
This information does not apply to a J2EE application deployed to an application server environment such as WebSphere or WebLogic. Application servers provide their own mechanisms for defining the classpath, and application servers are responsible for loading the JDBC driver classes.
import java.sql.*;
Class.forName("com.teradata.jdbc.TeraDriver");
To access a database from a Java program, use the java.sql.DriverManager.getConnection method to obtain a new java.sql.Connection object from the DriverManager.
The
java.sql.DriverManager.getConnection method takes a URL string as an argument. The URL
string identifies a database, and the DriverManager uses the URL prefix jdbc:teradata://
to select the Teradata JDBC Driver for the connection.
|
Description |
Example Teradata JDBC Driver Connection URL |
|---|---|
|
No connection parameters |
DatabaseServerName is the hostname of the database. |
|
One connection parameter |
Connection parameters are optional. The first ParameterName is separated from the DatabaseServerName by a forward slash character. |
|
Two or more connection parameters |
When two or more connection parameters are specified, the parameters must be separated by commas. Enclose the value in single-quotes if the value contains a comma.
ParameterName is a connection parameter, and Value is a value for the parameter, as described in the next table.
|
The following table lists the Teradata JDBC Driver connection URL parameters and values. Beginning with Teradata JDBC Driver 16.00.00.28, the Teradata JDBC Driver validates URL connection parameters and throws SQLException for an invalid parameter name and/or invalid value.
|
Parameter |
Description |
|||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Specifies an account string to override the default account string defined for the database user. Accounts are used by the database for workload management and resource usage monitoring. Beginning with Teradata Database 14.10, the maximum length of an account string is 128 characters. The maximum length of an account string is 30 characters for Teradata Database 14.0 and earlier releases. This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 15.10.00.08. This parameter is available for JDBC Monitor connections. This parameter is available for Raw connections. |
||||||||||||||||
|
Specifies a command to override the default command to open the browser for Browser Authentication, which is chosen with the LOGMECH=BROWSER connection parameter. Browser Authentication is supported for Windows and macOS. Browser Authentication is not supported for other operating systems.
Beginning with Teradata JDBC Driver 20.00.00.59, the specified command must match the value of the Java system property
Example Java command line:
The specified command must include a placeholder token, literally specified as
The Java system property This parameter is available for SQL connections beginning with Teradata JDBC Driver 17.10.00.01. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 17.10.00.01. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 17.10.00.01. This parameter is available for Raw connections beginning with Teradata JDBC Driver 17.10.00.01. |
||||||||||||||||
|
Specifies the number of seconds to wait before closing the browser tab after Browser Authentication is completed. The behavior is under the browser's control, and not all browsers support automatic closing of browser tabs. Typically, the tab used to log on will remain open indefinitely, but the second and subsequent tabs will be automatically closed. When the BROWSER_TAB_TIMEOUT connection parameter is omitted, the default is 5 seconds. Specify 0 (zero) to close the tab immediately. Specify -1 to turn off automatic closing of browser tabs. Browser Authentication is supported for Windows and macOS. Browser Authentication is not supported for other operating systems. This parameter is available for SQL connections beginning with Teradata JDBC Driver 17.20.00.09. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 17.20.00.09. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 17.20.00.09. This parameter is available for Raw connections beginning with Teradata JDBC Driver 17.20.00.09. |
||||||||||||||||
|
Specifies the number of seconds that the Teradata JDBC Driver will wait for Browser Authentication to complete. When the BROWSER_TIMEOUT connection parameter is omitted, the default is 180 seconds (3 minutes). Browser Authentication is supported for Windows and macOS. Browser Authentication is not supported for other operating systems. This parameter is available for SQL connections beginning with Teradata JDBC Driver 17.10.00.17. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 17.10.00.17. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 17.10.00.17. This parameter is available for Raw connections beginning with Teradata JDBC Driver 17.10.00.17. |
||||||||||||||||
|
Specifies the session character set for encoding and decoding character data transferred to and from the Teradata Database. The following session character sets are supported:
The default value is ASCII. Beginning with Teradata Database V2R6.1 and Teradata JDBC Driver 3.3, UTF16 can be used in conjunction with Kerberos or Lightweight Directory Access Protocol (LDAP) authentication. This parameter is available for SQL connections. This parameter is available for the Default Connection for Java Stored Procedures, but only ASCII, UTF8, or UTF16 may be specified. This parameter is available for JDBC FastExport and JDBC FastLoad connections. This parameter is available for JDBC FastLoad CSV connections, but only ASCII or UTF8 may be specified. This parameter is available for JDBC Monitor connections, but only certain character sets may be specified, depending on the Monitor version. Refer to JDBC Monitor for details. This parameter is available for Raw connections. |
||||||||||||||||
|
CHATTER values are ON (the default) or OFF.
The CHATTER connection parameter is available with Teradata JDBC Driver versions 15.00.00.16 through 15.10.0.24. Beginning with Teradata JDBC Driver 15.10.0.25, the CHATTER connection parameter is no longer available, and is replaced by the MAX_MESSAGE_BODY connection parameter. This parameter is not available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is not available for JDBC FastExport connections. This parameter is available for JDBC FastLoad and JDBC FastLoad CSV connections with Teradata JDBC Driver versions 15.00.00.16 through 15.10.0.24. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies the Java character set for encoding and decoding character data transferred to and from the database. This overrides the Teradata JDBC Driver's normal mapping of Teradata session character sets to Java character sets. This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. Note: Not recommended for normal use. Use at your own risk. Data corruption will occur if the wrong Java character set is specified. Teradata cannot provide any guarantees of data fidelity or quality when this connection parameter is used. |
||||||||||||||||
|
Specifies how LOGMECH=CODE Device Code Flow will display the verification URL and code. This parameter is optional for LOGMECH=CODE and is ignored for other LOGMECH values.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.17. |
||||||||||||||||
|
Controls the behavior of the ResultSetMetaData getColumnName and getColumnLabel methods.
The JDBC escape functions This parameter is available for SQL connections beginning with Teradata JDBC Driver 16.00.00.28. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 16.00.00.28. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
CONNECT_FAILURE_TTL=time-to-live in seconds This option enables the Teradata JDBC Driver to remember the time of the last connection failure for each IP address/port combination. Also, the Teradata JDBC Driver skips connection attempts to that IP address/port during subsequent logins for the number of seconds specified by the Connect Failure time-to-live (CONNECT_FAILURE_TTL) value. Omitting or setting the value to zero disables this feature. The recommended value for this feature is half the restart time of the corresponding database. This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is available for JDBC Monitor connections. This parameter is available for Raw connections. Note: This feature applies to TCP socket connection failures and does not apply to hostname look up during COP Discovery. There is no need for such a connection parameter (for example, COP_DISCOVERY_TTL) because this can be done using a JVM setting: the Java security property networkaddress.cache.negative.ttl as defined in the InetAddress Caching section of this document. |
||||||||||||||||
|
Specifies whether the database should allocate a Logon Sequence Number (LSN) for this session, or associate this session with an existing LSN.
This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is not available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is available for JDBC Monitor connections. This parameter is available for Raw connections. |
||||||||||||||||
|
Specifies whether COP Discovery is performed.
This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is available for JDBC Monitor connections. This parameter is available for Raw connections. |
||||||||||||||||
|
Specifies how COP Discovery determines the last COP hostname.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 16.00.00.28. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 16.00.00.28. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 16.00.00.28. This parameter is available for Raw connections beginning with Teradata JDBC Driver 16.00.00.28. |
||||||||||||||||
|
DATABASE=default database name Specifies a default database for use after logon, to override the default database defined for the database user. This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections. This parameter is available for JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 15.10.00.08. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. Note: The DATABASE connection parameter works normally for a user with an expired password when the NEW_PASSWORD connection parameter is also specified. However, the DATABASE connection parameter has no effect for a conditional connection that is established for a user with an expired password when the NEW_PASSWORD connection parameter is not specified. In this situation, the application can submit a MODIFY USER statement to assign a new password to the user. After the new password has been set, the application can submit a DATABASE statement to change the default database for the connection. |
||||||||||||||||
|
Connects to the database on the specified TCP/IP port for non-HTTPS connections. The default port is 1025 for non-HTTPS connections to the database. This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is available for JDBC Monitor connections. This parameter is available for Raw connections. |
||||||||||||||||
|
DDSTATS values are ON or OFF:
This parameter is available for SQL connections beginning with Teradata JDBC Driver 13.00.00.25. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 13.00.00.25. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies a directory of files available for uploading to the Teradata Database via the Elicit File Protocol.
When creating an External Stored Procedure (XSP), User Defined Function (UDF), or User Defined Method (UDM),
or when calling the This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.28. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.28. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.28. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.28. |
||||||||||||||||
|
ENCRYPTDATA values are ON or OFF:
Encryption algorithms are associated with Logon Mechanisms, so the LOGMECH connection parameter governs which encryption algorithm is used when data encryption occurs. This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is available for JDBC Monitor connections. This parameter is available for Raw connections. Note: Beginning with Teradata Database 14.10 and Teradata JDBC Driver 15.00.00.15, data encryption occurs if required by centralized administration, or if the application specifies the ENCRYPTDATA=ON connection parameter. Encryption required by centralized administration overrides the ENCRYPTDATA=OFF connection parameter. |
||||||||||||||||
|
Specifies the maximum number of times that JDBC FastLoad will attempt to query FastLoad Error Table 1 after a JDBC FastLoad operation. The default value is 21 attempts when this parameter is omitted. After a FastLoad operation, the database stores rejected rows in an error table. There may be a delay before the rows are available in the error table, depending on the number of rejected rows and the workload of the database system. JDBC FastLoad uses the information obtained from FastLoad Error Table 1 to compose the BatchUpdateException that indicates to the application which rows were rejected. This parameter is not available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is not available for JDBC FastExport connections. This parameter is available for JDBC FastLoad connections beginning with Teradata JDBC Driver 16.00.00.32. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies the number of milliseconds that JDBC FastLoad will wait in between attempts to query FastLoad Error Table 1 after a JDBC FastLoad operation. The default value is 500 milliseconds when this parameter is omitted. This parameter is not available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is not available for JDBC FastExport connections. This parameter is available for JDBC FastLoad connections beginning with Teradata JDBC Driver 16.00.00.32. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies the suffix for the name of FastLoad Error Table 1 created by JDBC FastLoad and JDBC FastLoad CSV. The default suffix is Refer to Considerations When Using JDBC FastLoad and Considerations When Using JDBC FastLoad CSV for more details. This parameter is not available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is not available for JDBC FastExport connections. This parameter is available for JDBC FastLoad and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 16.00.00.31. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies the suffix for the name of FastLoad Error Table 2 created by JDBC FastLoad and JDBC FastLoad CSV. The default suffix is Refer to Considerations When Using JDBC FastLoad and Considerations When Using JDBC FastLoad CSV for more details. This parameter is not available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is not available for JDBC FastExport connections. This parameter is available for JDBC FastLoad and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 16.00.00.31. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies the database name for the FastLoad error tables created by JDBC FastLoad and JDBC FastLoad CSV. When this parameter is omitted, the default behavior is to create the FastLoad error tables in the same database as the destination table being loaded. Refer to Considerations When Using JDBC FastLoad and Considerations When Using JDBC FastLoad CSV for more details. This parameter is not available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is not available for JDBC FastExport connections. This parameter is available for JDBC FastLoad and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 16.00.00.31. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies a field separator for use with JDBC FastLoad CSV only. The default separator is ',' (comma). Refer to the section Field Separators Supported by JDBC FastLoad CSV for more details. This parameter is not available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is not available for JDBC FastExport or JDBC FastLoad connections. This parameter is available for JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 13.00.00.26. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
FINALIZE_AUTO_CLOSE values are OFF (default) or ON:
Java programming best practice is to avoid finalize methods altogether. If a finalize method is used, best practice is to minimize its processing time, and to avoid operations that can take a long time, such as network communications. The JDBC 3.0 API Specification contradicted these best practices by requiring a JDBC Driver to close JDBC objects automatically during garbage collection. The JDBC 4.0 API Specification dropped the requirement for automatic closing of JDBC objects during garbage collection, so the JDBC 4.0 API Specification is in agreement with these best practices. Garbage collection can be blocked indefinitely when FINALIZE_AUTO_CLOSE is set to ON, and the Teradata JDBC Driver does not receive a response from the database after sending a message to the database to close the response spool. This parameter is available for SQL connections beginning with Teradata JDBC Driver 14.00.00.08. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 14.00.00.08. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
FLATTEN values are OFF (default) or ON:
This parameter is available for SQL connections beginning with Teradata JDBC Driver 17.10.00.05. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 17.10.00.05. This parameter is available for JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 17.10.00.05. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 17.10.00.05. This parameter is available for Raw connections beginning with Teradata JDBC Driver 17.10.00.05. |
||||||||||||||||
|
Specifies the Gateway deadline in seconds. The default is 50 seconds. The driver automatically closes and re-establishes the database socket connection if the OpenID Connect (OIDC) flow takes longer than the specified value. The specified value should be smaller than the Gateway's denial-of-service protection timeout: gtwcontrol setting "connection timeout in seconds" with default 60 seconds. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.49. |
||||||||||||||||
|
GETURL_CREDENTIALS values are OFF (default) or ON:
This parameter is available for SQL connections beginning with Teradata JDBC Driver 16.00.00.28. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 16.00.00.28. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
GOVERN values are ON (default) or OFF:
This parameter is not available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Connects to the database on the specified TCP/IP port for HTTPS/TLS connections. The default port is 443 for HTTPS/TLS connections to the database. HTTPS/TLS connections are available beginning with Teradata JDBC Driver 17.10.00.07 and Teradata Advanced SQL Engine 16.20.53.30. This parameter is available for SQL connections beginning with Teradata JDBC Driver 17.10.00.07. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 17.10.00.07. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 17.10.00.07. This parameter is available for Raw connections beginning with Teradata JDBC Driver 17.10.00.07. |
||||||||||||||||
|
Uses the specified proxy server for HTTPS/TLS connections to the database and to Identity Provider endpoints. Specify the proxy server with a URL that must begin with The driver connects to the proxy server using a non-TLS HTTP connection, then uses the HTTP CONNECT method to establish an HTTPS/TLS connection to the destination. When this parameter is omitted, the default behavior beginning with Teradata JDBC Driver 20.00.00.12 is to use the Java system proxy settings specified with This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.12. |
||||||||||||||||
|
Specifies the proxy server password for the proxy server identified by the HTTPS_PROXY parameter. This parameter may only be specified in conjunction with the HTTPS_PROXY parameter. When this parameter is omitted, no proxy server password is provided to the proxy server identified by the HTTPS_PROXY parameter. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.12. |
||||||||||||||||
|
Specifies the proxy server username for the proxy server identified by the HTTPS_PROXY parameter. This parameter may only be specified in conjunction with the HTTPS_PROXY parameter. When this parameter is omitted, no proxy server username is provided to the proxy server identified by the HTTPS_PROXY parameter. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.12. |
||||||||||||||||
|
Specifies the number of HTTPS connection retries for a single-node database. When this parameter is omitted, the default is 2. Specify 0 to turn off HTTPS connection retries. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.45. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.45. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.45. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.45. |
||||||||||||||||
|
Specifies the JSON Web Signature (JWS) algorithm to sign the JWT Bearer Token for client authentication. This parameter is optional for LOGMECH=BEARER and is ignored for other LOGMECH values.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.17. |
||||||||||||||||
|
Specifies the JWT Bearer Token audience claim for client authentication. This parameter is optional for LOGMECH=BEARER and is ignored for other LOGMECH values. When this parameter is omitted, the default is the Identity Provider token endpoint URL. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.56. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 20.00.00.56. This parameter is available for JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.56. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.56. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.56. |
||||||||||||||||
|
Specifies the file name of the X.509 certificate PEM file that contains the public key corresponding to the private key from JWS_PRIVATE_KEY. This parameter is optional for LOGMECH=BEARER and is ignored for other LOGMECH values.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.17. |
||||||||||||||||
|
Specifies the file name of the PEM or JWK file containing the private key to sign the JWT Bearer Token for client authentication. This parameter is required for LOGMECH=BEARER and is ignored for other LOGMECH values.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.17. |
||||||||||||||||
|
Specifies the password to decrypt the encrypted private key file specified by JWS_PRIVATE_KEY. This parameter is optional for LOGMECH=BEARER and is ignored for other LOGMECH values.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.60. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 20.00.00.60. This parameter is available for JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.60. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.60. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.60. |
||||||||||||||||
|
Specifies the application layer keep-alive interval in seconds. The default is 30 seconds. Specify 0 to turn off the application layer keep-alive feature. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.63. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.63. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.63. This parameter is not available for Raw connections. |
||||||||||||||||
|
Many DatabaseMetaData methods have arguments to specify LIKE-predicate patterns to match object names. These method arguments have a name ending in the word Pattern, such as schemaPattern and tableNamePattern. Within a pattern, the percent-sign character " % " is a wildcard that matches any sequence of zero or more characters, and the underscore character " _ " is a wildcard that matches any single character. To match a literal wildcard character in an object name, the wildcard character must be escaped (preceded) by a backslash character " \ ". LITERAL_UNDERSCORE=ON will automatically escape all unescaped underscore characters in DatabaseMetaData method pattern arguments. The default is OFF. This parameter is available for SQL connections beginning with Teradata JDBC Driver 15.10.00.14. This parameter is available for the Default Connection for Java Stored Procedures beginning with Teradata Database 16.0. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 15.10.00.14. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
LOB_SUPPORT=OFF disables LOB support and related features. LOB_SUPPORT=ON (the default) enables Large Object (LOB) support and a collection of related features. LOB_SUPPORT must be enabled if the application:
When LOB_SUPPORT is ON (the default), the application is limited to 16 open responses from the database. See Working with LOBs if you receive database Error 3130 "Response limit exceeded". Turning off LOB_SUPPORT and subsequently attempting to use scrollable result sets or updatable result sets causes the driver to downgrade the result set to forward-only (scrollable result sets) or read-only (updatable result sets). In addition, a SQLWarning is returned to indicate the downgrade. This parameter is available for SQL connections. This parameter is available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies the name of a table with the following columns: id integer, bval blob, cval clob The user or the application must have previously created the table. The Teradata JDBC Driver will not automatically create the table. See Updatable LOBs for more information. This parameter is available for SQL connections. This parameter is available for the Default Connection for Java Stored Procedures beginning with Teradata Database 16.0. This parameter is available for JDBC FastExport and JDBC FastLoad connections. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Controls the catalog name returned by DatabaseMetaData and ResultSetMetaData methods for local objects. This parameter does not affect the catalog name for Open Table Format (OTF) objects. The DataLake name is always returned as the catalog name for OTF objects. When LOCAL_CATALOG is OFF (the default):
When LOCAL_CATALOG is ON:
This parameter is available for SQL connections beginning with Teradata Database 20.0 and Teradata JDBC Driver 20.00.00.52. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad beginning with Teradata Database 20.0 and Teradata JDBC Driver 20.00.00.52. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies the logging level (verbosity) for the connection. Logging is always enabled. The logging levels are listed in order from terse to verbose.
This parameter is available for SQL connections. This parameter is available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is available for JDBC Monitor connections. This parameter is available for Raw connections. |
||||||||||||||||
|
Specifies additional data needed by a logon mechanism, such as a secure token, Distinguished Name, or a domain/realm name. LOGDATA values are specific to each logon mechanism. LOGDATA is not used with the TD2 mechanism.
When the username is specified in the LOGDATA parameter, then the username must not be specified with the DriverManager.getConnection method, and the username must not be specified with the USER connection parameter. When the password is specified in the LOGDATA parameter, then the password must not be specified with the DriverManager.getConnection method, and the password must not be specified with the PASSWORD connection parameter. This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is available for JDBC Monitor connections. This parameter is available for Raw connections. |
||||||||||||||||
|
Specifies the Logon Mechanism, which determines the connection's authentication and encryption capabilities. Refer to the Teradata Vantage™ Security Administration reference for more information about logon mechanisms. The database user must have the "logon with null password" permission to log on using LOGMECH=KRB5 Single Sign On (SSO) or any of the OpenID Connect (OIDC) methods: BEARER, BROWSER, CODE, CRED, JWT, ROPC, and SECRET.
When the LOGMECH parameter is omitted, the Teradata JDBC Driver uses the local default mechanism. If no local default mechanism is defined, then the Teradata JDBC Driver uses the default mechanism indicated by the database. Not all logon mechanisms are available in all environments. If you specify a logon mechanism that is not available in your environment, then the JDBC connection attempt will fail, and a SQLException will be thrown. This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is available for JDBC Monitor connections. This parameter is available for Raw connections. |
||||||||||||||||
|
Specifies an existing Logon Sequence Number (LSN) to associate this session with. This connection parameter must be used in conjunction with the CONNECT_FUNCTION=2 connection parameter. The database only permits sessions for the same user to share an LSN. A logon sequence number groups multiple sessions together for workload management.
Using a logon sequence number is a three-step process.
First, a control session is established with CONNECT_FUNCTION=1, which directs the database to allocate a logon sequence number.
Second, the logon sequence number is obtained from the control session by calling the This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is not available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is available for JDBC Monitor connections. This parameter is available for Raw connections. |
||||||||||||||||
|
Specifies the logon timeout in seconds. The default is 0 (zero), which means no logon timeout. A nonzero value specified for this parameter takes precedence over the This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.47. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.47. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.47. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.47. |
||||||||||||||||
|
Controls whether JDBC FastLoad automatically manages the FastLoad error tables when a FastLoad operation completes normally.
This setting only affects a FastLoad operation that completes normally. If a FastLoad operation aborts instead -- for example, due to an error, a transaction rollback, or defensive cleanup performed before starting a new FastLoad operation on the same table -- JDBC FastLoad always queries and drops the FastLoad error tables, regardless of this setting. Refer to Considerations When Using JDBC FastLoad for more details. This parameter is not available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is not available for JDBC FastExport connections. This parameter is available for JDBC FastLoad connections. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Controls the behavior of the
This parameter has no effect when StatementInfo parcel support is unavailable. The JDBC escape function This parameter is available for SQL connections beginning with Teradata JDBC Driver 16.00.00.28. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 16.00.00.28. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
MAX_MESSAGE_BODY=size in bytes Specifies the maximum Response Message size in bytes. This connection parameter is available beginning with Teradata JDBC Driver 15.10.0.25.
This parameter is available for SQL connections. This parameter is available for the Default Connection for Java Stored Procedures beginning with Teradata Database 16.0. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is available for JDBC Monitor connections. This parameter is not available for Raw connections. When the MAX_MESSAGE_BODY connection parameter is specified, the maximum Response Message size is the smaller of the MAX_MESSAGE_BODY value and the maximum database Response Message size. Note: Performance may be hurt by specifying a smaller MAX_MESSAGE_BODY value than the default maximum Response Message size. This is not recommended. Performance may be improved by specifying a larger MAX_MESSAGE_BODY value than the default maximum Response Message size, but JVM memory consumption will increase. You must ensure that sufficient JVM memory is available. |
||||||||||||||||
|
This connection parameter enables an application to change an expired password automatically. When a connection is established for a user with an expired password, it is a conditional connection. The only SQL request that can be submitted on a conditional connection is a MODIFY USER statement that assigns a new password to the user. Each database user is allowed only one conditional connection at a time. To submit a new password for the user, all previously established connections for the user need to be ended, across all Teradata client products and interfaces such as Basic Teradata Query (BTEQ), SQL Assistant (SQLA), the Teradata JDBC Driver, and so forth. When a conditional connection is established for a user with an expired password and the NEW_PASSWORD parameter:
After the MODIFY USER statement successfully changes the expired password, the connection is no longer conditional—the connection can be used normally. Note that when the NEW_PASSWORD connection property is specified for an application server DataSource and the Teradata JDBC Driver automatically changes the expired password, the original password defined in the application server DataSource is not updated. The application can either:
This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Controls how the Teradata JDBC Driver uses the Java System properties for proxy settings.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.54. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.54. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.54. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.54. |
||||||||||||||||
|
Controls Single Sign On (SSO) access to Open Table Format (OTF) catalog and storage instances. If REDRIVE is 1 or higher and the database supports Control Data, the OAUTH_LEVEL specifies which tokens are transmitted to the database with each request, and the database may use the tokens for SSO access to OTF catalog and storage instances. If REDRIVE is 0 or the database does not support Control Data, tokens are not transmitted to the database with each request, and tokens will not be available for SSO access to OTF.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.42. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 20.00.00.42. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies one or more OAuth scopes for SSO access to OTF catalog and storage instances.
Multiple scopes are separated by vertical bar characters ( This parameter may only be used with OIDC logon mechanisms for individual users, not for service accounts. This parameter is optional for the BROWSER, CODE, and ROPC logon mechanisms for individual users. This parameter must be omitted for the BEARER, CRED, and SECRET logon mechanisms for service accounts. When this parameter is specified, after successful OIDC authentication, the driver obtains an additional access token from the Identity Provider for each specified scope. Each additional access token request uses the same OIDC parameters as the initial OIDC authentication; only the scope is varied. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.42. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata JDBC Driver 20.00.00.42. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies the maximum size of the OpenID Connect (OIDC) token cache for Browser Authentication and other OIDC methods. When the OIDC_CACHE_SIZE connection parameter is omitted, the default maximum cache size is 100. Specify maximum cache size 0 (zero) to avoid using the OIDC token cache for this connection. Browser Authentication is supported for Windows and macOS. Browser Authentication is not supported for other operating systems. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.38. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.38. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.38. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.38. |
||||||||||||||||
|
Specifies the OpenID Connect (OIDC) claim to use for Browser Authentication and other OIDC methods.
When the OIDC_CLAIM connection parameter is omitted, the default claim is The claim value is obtained from the OIDC token after a successful request to the Identity Provider token endpoint.
Browser Authentication is supported for Windows and macOS. Browser Authentication is not supported for other operating systems. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.38. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.38. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.38. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.38. |
||||||||||||||||
|
Specifies the OpenID Connect (OIDC) Client ID to use for Browser Authentication and other OIDC methods.
When the OIDC_CLIENTID connection parameter is omitted, the default Client ID comes from the database's Browser Authentication is supported for Windows and macOS. Browser Authentication is not supported for other operating systems. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.17. |
||||||||||||||||
|
Specifies the Identity Provider metadata URL for OpenID Connect (OIDC). When the OIDC_METADATA connection parameter is omitted, the default metadata URL is provided by the database. This connection parameter is a troubleshooting tool only, and is not intended for normal production usage. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.17. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.17. |
||||||||||||||||
|
Specifies the lifetime in seconds for entries in the OpenID Connect (OIDC) Authorization Server metadata cache. When the OIDC_METADATA_CACHE connection parameter is omitted, the default lifetime is 600 seconds (10 minutes). This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.49. |
||||||||||||||||
|
Specifies the OpenID Connect (OIDC) prompt value to use for Browser Authentication. This parameter is only intended for use with LOGMECH=BROWSER and is ignored for other LOGMECH values. This parameter is only effective when User is specified as an OIDC login hint. This parameter is ignored when User is not specified. Specifying OIDC_PROMPT=login directs the Identity Provider to prompt the user for credentials, but is not supported by all Identity Providers. When this parameter is specified, the browser tab may not close automatically after Browser Authentication is completed. The behavior is under the browser's control. Browser Authentication is supported for Windows and macOS. Browser Authentication is not supported for other operating systems. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.44. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.44. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.44. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.44. |
||||||||||||||||
|
Specifies the OIDC redirect port number or port number range for Browser Authentication (Authorization Code Flow with PKCE). This parameter is only intended for use with LOGMECH=BROWSER and is ignored for other LOGMECH values. Omitting this parameter is recommended. The default port number 0 (zero) directs the driver to use an ephemeral port. IETF RFC 8252 - OAuth 2.0 for Native Apps section 7.3 dictates that an identity provider must allow any port number for the loopback IP redirect URL, to let clients obtain an available ephemeral port from the operating system. Only specify this parameter if your identity provider deviates from IETF RFC 8252 and requires a specific redirect port number.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.51. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.51. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.51. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.51. |
||||||||||||||||
|
If the OpenID Connect (OIDC) scope includes
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.49. |
||||||||||||||||
|
Specifies the OpenID Connect (OIDC) token minimum remaining lifetime percentage for the driver to reuse a token. The driver will replace a token when its remaining lifetime falls below this percentage.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.49. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.49. |
||||||||||||||||
|
Specifies the OpenID Connect (OIDC) scope to use for Browser Authentication and other OIDC methods.
When the OIDC_SCOPE connection parameter is omitted, the default scope is Browser Authentication is supported for Windows and macOS. Browser Authentication is not supported for other operating systems. This parameter is available for SQL connections beginning with Teradata JDBC Driver 17.10.00.25. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 17.10.00.25. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 17.10.00.25. This parameter is available for Raw connections beginning with Teradata JDBC Driver 17.10.00.25. |
||||||||||||||||
|
Specifies the mode for HTTPS connections to the Identity Provider.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.25. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.25. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.25. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.25. |
||||||||||||||||
|
Specifies the kind of OIDC token to use for Browser Authentication and other OIDC methods. When the OIDC_TOKEN connection parameter is omitted, the access_token is used. Specify OIDC_TOKEN=id_token to use the id_token instead of the access_token. Browser Authentication is supported for Windows and macOS. Browser Authentication is not supported for other operating systems. This parameter is available for SQL connections beginning with Teradata JDBC Driver 17.10.00.25. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 17.10.00.25. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 17.10.00.25. This parameter is available for Raw connections beginning with Teradata JDBC Driver 17.10.00.25. |
||||||||||||||||
|
Specifies the database partition for the Connection.
This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is not available for JDBC FastExport, JDBC FastLoad, or JDBC FastLoad CSV connections. This parameter is available for JDBC Monitor connections. This parameter is available for Raw connections. |
||||||||||||||||
|
Specifies the password for the Connection when the DriverManager.getConnection method's password argument is omitted or null. This connection parameter is primarily intended for use with the single-argument DriverManager.getConnection(String url) method. When the two-argument DriverManager.getConnection(String url, Properties info) method is used, a non-null "password" property value in the Properties info argument will override this connection parameter. When the three-argument DriverManager.getConnection(String url, String user, String password) method is used, a non-null password argument will override this connection parameter. This parameter is available for SQL connections beginning with Teradata JDBC Driver 14.00.00.13. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 14.00.00.13. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 14.00.00.13. This parameter is available for Raw connections beginning with Teradata JDBC Driver 14.00.00.13. |
||||||||||||||||
|
Specifies whether the database performs a prepare operation when a PreparedStatement or CallableStatement is created.
This parameter is available for SQL connections. This parameter is available for the Default Connection for Java Stored Procedures beginning with Teradata Database 16.0. This parameter is not available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies a matching pattern for hostnames and addresses to bypass the proxy server identified by the HTTPS_PROXY parameter. This parameter may only be specified in conjunction with the HTTPS_PROXY parameter. Separate multiple hostnames and addresses with a vertical bar When this parameter is omitted, the default pattern is When the proxy server identified by the HTTPS_PROXY parameter is bypassed, then the Java system proxy settings are used. If no Java system proxy settings are defined, then a direct connection is made to the destination. This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.12. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.12. |
||||||||||||||||
|
Enables Teradata Session Reconnect. Specifies the maximum number of times that the Teradata JDBC Driver will attempt to reconnect the session. See Teradata Session Reconnect for more information.
This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is available for Raw connections. Note: Specifying this parameter will override the normal fail-fast behavior for connection failures. |
||||||||||||||||
|
Enables Teradata Session Reconnect. Specifies the number of seconds that the Teradata JDBC Driver will wait in between attempts to reconnect the session. See Teradata Session Reconnect for more information.
This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is available for Raw connections. Note: Specifying this parameter will override the normal fail-fast behavior for connection failures. |
||||||||||||||||
|
Enables Teradata Session Reconnect, and also enables automatic redriving of SQL requests interrupted by database restart. See Teradata Session Reconnect for more information.
This parameter is available for SQL connections beginning with Teradata Database 14.10 and Teradata JDBC Driver 15.00.00.12. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections beginning with Teradata Database 14.10 and Teradata JDBC Driver 15.00.00.12. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is available for Raw connections. Note: The application is not guaranteed to receive the functionality that it solicits with the REDRIVE connection parameter.
The database determines whether the functionality is provided or not, depending on the
database |
||||||||||||||||
|
Controls whether the driver reports the TLS named group negotiated during the SSL handshake. The default is ON.
This parameter is available for SQL connections beginning with Teradata JDBC Driver 20.00.00.61. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 20.00.00.61. This parameter is available for JDBC Monitor connections beginning with Teradata JDBC Driver 20.00.00.61. This parameter is available for Raw connections beginning with Teradata JDBC Driver 20.00.00.61. |
||||||||||||||||
|
Specifies the RUNSTARTUP value as OFF or ON. The default is OFF.
This parameter is available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections beginning with Teradata JDBC Driver 15.10.00.08. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies the number of FastLoad or FastExport connections to be created, where 1 <= number of FastLoad or FastExport connections <= number of AMPs. This parameter is not available for SQL connections. This parameter is not available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. Note: It is recommended to omit the SESSIONS parameter and let the database determine the appropriate number of FastLoad or FastExport connections. |
||||||||||||||||
|
Controls whether the database and Teradata JDBC Driver use StatementInfo Parcel (SIP) to convey metadata.
This parameter is available for SQL connections. This parameter is available for the Default Connection for Java Stored Procedures beginning with Teradata Database 16.0. This parameter is not available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Controls how small LOB values are received from the database. Small LOB values are pre-fetched from the database before the application explicitly reads data from Blob/Clob objects.
The default threshold is 1000 bytes when this parameter is omitted. This parameter is available for SQL connections beginning with Teradata Database 15.10 and Teradata JDBC Driver 15.10.00.05. This parameter is available for the Default Connection for Java Stored Procedures beginning with Teradata Database 16.0. This parameter is not available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. Note: Use caution when specifying this parameter. Performance may be improved by specifying a threshold larger than the default, but JVM memory consumption will increase. You must ensure that sufficient JVM memory is available. Be aware that small LOB values compete for space in each message with other non-LOB data values, and you may also need to increase the maximum message size with the MAX_MESSAGE_BODY connection parameter. |
||||||||||||||||
|
Controls how small LOB values are transmitted to the database.
The default threshold is 1000 bytes when this parameter is omitted. This parameter is available for SQL connections beginning with Teradata Database 15.10 and Teradata JDBC Driver 15.10.00.05. This parameter is not available for the Default Connection for Java Stored Procedures beginning with Teradata Database 16.0. This parameter is not available for JDBC FastExport, JDBC FastLoad, and JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. Note: Use caution when specifying this parameter. Performance may be improved by specifying a threshold larger than the default, but JVM memory consumption will increase. You must ensure that sufficient JVM memory is available. Be aware that small LOB values compete for space in each message with other non-LOB data values, and you may also need to increase the maximum message size with the MAX_MESSAGE_BODY connection parameter. |
||||||||||||||||
|
Specifies behavior for creating or replacing Teradata stored procedures.
This parameter is available for SQL connections. This parameter is available for the Default Connection for Java Stored Procedures. This parameter is available for JDBC FastExport and JDBC FastLoad connections. This parameter is not available for JDBC FastLoad CSV connections. This parameter is not available for JDBC Monitor connections. This parameter is not available for Raw connections. |
||||||||||||||||
|
Specifies the base64url encoded contents of a PEM file that contains Certificate Authority (CA) certificates for use with SSLMODE and |