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).

Note:
  • In a JDBC data source, string values must be enclosed in double quotation marks, for example, setUser("abc@defcorp.com").
  • 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, Password is the same as password.
  • 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: User={hello } or Password={{hello}}.

The following tables describe the connection properties by functionality.

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 on supported grant types, see OAuth 2.0 authentication.

Property Data Source Method Default
AccessToken getAccessToken()

setAccessToken(String)

No default value
AuthenticationMethod getAuthenticationMethod()

setAuthenticationMethod(String)

OAuth2
AuthURI getOauthAuthUri()

setOauthAuthUri(String)

No default value
ClientID getClientId()

setClientId(String)

No default value
ClientSecret getClientSecret()

setClientSecret(String)

No default value
RefreshToken getRefreshToken()

setRefreshToken(String)

No default value
Scope getOauthScope()

setOauthScope(String)

No default value
ServiceURL getServiceUrl()

setServiceUrl(String)

No default value
TokenURI getOauthTokenUri()

setOauthTokenUri(String)

No default value

NTLM properties

The following table summarizes properties used for NTLM.

Property Data Source Method Default
AuthenticationMethod getAuthenticationMethod()

setAuthenticationMethod(String)

No default value
NTLMDomain getNtlmDomain()

setNtlmDomain(String)

No default value
Password getPassword()

setPassword(String)

No default value
ServiceURL getServiceUrl()

setServiceUrl(String)

No default value
User getUser()

setUser(String)

No default value

Mapping properties

The following table summarizes connection properties involved in mapping the Dynamics 365 data model to a SQL model.

Property Data Source Method Default
CreateMap getCreateMap()

setCreateMap(String)

OnChange
CustomPrefix getCustomPrefix()

setCustomPrefix(String)

Include
CustomPrefixName getCustomPrefixName()

setCustomPrefixName(String)

new_
KeywordConflictSuffix getKeywordConflictSuffix()

setKeywordConflictSuffix(String)

No default value
RefreshSchema getRefreshSchema()

setRefreshSchema(Boolean)

false
SchemaMap getSchemaMap()

setSchemaMap(String)

Default value depends on environment
ShowNameColumns getShowNameColumns()

setShowNameColumns(Boolean)

false

Proxy server properties

The following table summarizes proxy server connection properties.

Property Data Source Method Default
ProxyHost getProxyHost()

setProxyHost(String)

No default value
ProxyPassword getProxyPassword()

setProxyPassword(String)

No default value
ProxyPort getProxyPort()

setProxyPort(Integer)

0 which means the default is determined by the ProxyHost property.

For HTTP URLs: 80

For HTTPS URLs: 443

ProxyUser getProxyUser()

setProxyUser(String)

No default value

Web service properties

The following table summarizes Web service connection properties.

Property Data Source Method Default
StmtCallLimit getStmtCallLimit()

setStmtCallLimit(Integer)

0 (no limit)
StmtCallLimitBehavior getStmtCallLimitBehavior()

setStmtCallLimitBehavior(String)

ErrorAlways
WSCompressData getWsCompressData()

setWsCompressData(String)

Compress
WSTimeout

getWSTimeout()

setWSTimeout(Integer)

300

Statement pooling properties

The following table summarizes statement pooling connection properties.

Property Data Source Method Default
ImportStatementPool getImportStatementPool()

setImportStatementPool(String)

No default value
MaxPooledStatements getMaxPooledStatements()

setMaxPooledStatements(Integer)

0
RegisterStatementPoolMonitorMBean getRegisterStatementPoolMonitorMbean()

setRegisterStatementPoolMonitorMbean(Boolean)

false

Additional properties

The following table summarizes additional connection properties.

Property Data Source Method Default
BatchUpdateChunkSize getBatchUpdateChunkSize()

setBatchUpdateChunkSize(Integer)

200
ConvertNull getConvertNull()

setConvertNull(Integer)

true (data type check is performed if column value is null)
CrossCompany getCrossCompany()

setCrossCompany(Boolean)

false
FetchSize getFetchSize()

setFetchSize(Integer)

100 (rows)
InitializationString getInitializationString()

setInitializationString(String)

No default value
InsensitiveResultSetBufferSize getInsensitiveResultsetBufferSize()

setInsensitiveResultsetBufferSize(Integer)

2048 (KB of memory)
LogConfigFile getLogConfigFile()

setLogConfigFile(String)

ddlogging.properties
ReadOnly getReadOnly()

setReadOnly(Boolean)

false
SpyAttributes getSpyAttributes()

setSpyAttributes(String)

No default value
TransactionMode getTransactionMode()

setTransactionMode(String)

NoTransactions