Connection property descriptions
- Last Updated: August 29, 2024
- 2 minute read
- DataDirect Connectors
- JDBC
- Documentation
You can use connection properties to customize the
driver for your environment. This section organizes connection properties according to
functionality. You can use connection properties with either the JDBC DriverManager or a JDBC data source. For a DriverManager connection, a property is expressed as a key value pair and takes
the form property=value. For a data source connection, a property is
expressed as a JDBC method and takes the form setproperty(value).
- In a JDBC data source, string values must be enclosed in double quotation marks, for
example,
setProxyPassword("secret"). - The data type listed for each connection property is the Java data type used for the property value in a JDBC data source.
- Connection property names are case-insensitive. For example,
AuthenticationMethodis the same asauthenticationmethod. - For connection properties that support string values, use the following escape sequence
to specify values containing leading or trailing spaces and curly brackets:
{value}. For example:ProxyPassword={hello }orProxyPassword={{hello}}.
The following tables describe the connection properties by functionality:
- OAuth 2.0 authentication properties
- Mapping properties
- Proxy server properties
- Web service properties
- Additional properties
OAuth 2.0 authentication properties
The following table summarizes the connection properties required to connect to a service when using OAuth 2.0 authentication.
| Property | Data Source Method | Default |
|---|---|---|
| AccessToken |
|
No default value |
| AuthenticationMethod | getAuthenticationMethod()
|
OAuth2 |
| AuthURI |
|
https://accounts.google.com/o/oauth2/auth |
| ClientID |
|
No default value |
| ClientSecret |
|
No default value |
| RedirectURI |
|
No default value |
| RefreshToken |
|
No default value |
| Scope |
|
No default value |
| ServerName | getServerName()
|
analyticsdata.googleapis.com |
| TokenURI |
|
https://accounts.google.com/o/oauth2/token |
Mapping properties
The following table summarizes the connection properties involved in mapping the Google Analytics data model to a SQL model.
| Property | Data Source Method | Default |
|---|---|---|
| AddTables |
|
No default value |
| KeywordConflictSuffix |
|
No default value |
Proxy server properties
The following table summarizes the proxy server connection properties.
| Property | Data Source Method | Default |
|---|---|---|
| ProxyHost | getProxyHost()
|
No default value |
| ProxyPassword | getProxyPassword()
|
No default value |
| ProxyPort | getProxyPort()
|
For HTTP URLs: For HTTPS URLs: |
| ProxyUser | getProxyUser()
|
No default value |
Web service properties
The following table summarizes the web service connection properties.
| Property | Data Source Method | Default |
|---|---|---|
| StmtCallLimit | getStmtCallLimit()
|
0 (no limit) |
| StmtCallLimitBehavior | getStmtCallLimitBehavior()
|
errorAlways
|
| WSRetryCount |
|
5 |
| WSTimeout |
|
120 |
Additional properties
The following table summarizes additional connection properties.
| Property | Data Source Method | Default |
|---|---|---|
| DebugRecord |
|
No default value |
| DefaultQueryOptions |
|
No default value |
| FetchSize | getFetchSize()
|
100
(rows) |
| InitializationString | getInitializationString()
|
No default value |
| LogConfigFile | getLogConfigFile()
|
ddlogging.properties |
| SpyAttributes | getSpyAttributes()
|
No default value |
| TransactionMode | getTransactionMode()
|
NoTransactions |