Connection property descriptions
- Last Updated: May 13, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- GitHub 6.0
- 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).
Password is the same as password.setUser("abc@defcorp.com").The following tables describe the connection properties by functionality.
- Bearer token properties
- Basic properties
- OAuth 2.0 properties
- Proxy server properties
- Timeout properties
- Additional properties
Bearer token authentication properties
The following table summarizes properties used for Bearer token authentication.
| Property | Data Source Method | Default |
|---|---|---|
| AuthenticationMethod | getAuthenticationMethod()
|
BearerToken |
| ServerName | getServerName()
|
No default value |
| SecurityToken | getSecurityToken()
|
No default value |
Basic authentication properties
The following table summarizes properties used for Basic authentication.
| Property | Data Source Method | Default |
|---|---|---|
| AuthenticationMethod | getAuthenticationMethod()
|
BearerToken |
| Password | getPassword()
|
No default value |
| ServerName | getServerName()
|
No default value |
| User | getUser()
|
No default value |
OAuth 2.0 properties
The following table summarizes properties used for OAuth 2.0 authentication. The OAuth 2.0 properties you must specify depend on the grant type used in your environment. If you are unsure of the grant type or its requirements, contact your system administrator. For details, see OAuth 2.0 authentication.
| Property | Data Source Method | Default |
|---|---|---|
| AccessToken | getAccessToken()
|
No default value |
| AuthenticationMethod | getAuthenticationMethod()
|
BearerToken |
| AuthURI | getAuthUri()
|
No default value |
| ClientID | getClientId()
|
No default value |
| ClientSecret | getClientSecret()
|
No default value |
| RedirectURI | getRedirUri()
|
No default value |
| Scope | getScope()
|
No default value |
| ServerName | getServerName()
|
No default value |
| TokenURI | getTokenUri()
|
No default value |
Proxy server properties
The following table summarizes proxy server connection properties.
| Property | Data Source Method | Default |
|---|---|---|
| ProxyHost | getProxyHost()
|
No default value |
| ProxyPassword | getProxyPassword()
|
No default value |
| ProxyPort | getProxyPort()
|
0
|
| ProxyUser | getProxyUser()
|
No default value |
Timeout properties
The following table summarizes timeout connection properties.
| Property | Data Source Method | Default |
|---|---|---|
| WSRetryCount | getWsRetryCount()
|
5 |
| WSTimeout | getWsTimeout()
|
120 (seconds) |
Additional properties
The following table summarizes additional connection properties.
| Property | Data Source Method | Default |
|---|---|---|
| DebugRecord | getDebugRecord()
|
0
(Disabled) |
| DefaultQueryOptions | getDefaultQueryOptions()
|
No default value |
| FetchSize | getFetchSize()
|
100
(rows) |
| LogConfigFile | getLogConfigFile()
|
ddlogging.properties |
| SpyAttributes | getSpyAttributes()
|
No default value |
| StmtCallLimit | getStmtCallLimit()
|
2000 |
| StmtCallLimitBehavior | getStmtCallLimitBehavior()
|
ErrorAlways |