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:

Basic authentication properties

The following table summarizes the connection properties required to connect to a service when using basic authentication.

Table 1. Required properties
Property Data Source Method Default
AuthenticationMethod getAuthenticationMethod()

setAuthenticationMethod(String)

Basic
ServerName getServerName()

setServerName(String)

No default value
Password getPassword()

setPassword(String)

No default value
User getUser()

setUser(String)

No default value

HTTP Header properties (S/4HANA only)

The following table summarizes the connection properties required to connect to a service when using HTTP Header authentication. This authentication method is supported only for S/4HANA services.

Property Data Source Method Default
AuthenticationMethod getAuthenticationMethod()

setAuthenticationMethod(String)

Basic
AuthHeader getAuthHeader()

setAuthHeader(String)

No default value
ServerName getServerName()

setServerName(String)

No default value
SecurityToken getSecurityToken()

setSecurityToken(String)

No default value

Mapping properties

The following table summarizes the connection properties involved in mapping the SAP S/4HANA data model to a SQL model.

Property Data Source Method Default
CreateMap getCreateMap()

setCreateMap(String)

NotExist
KeywordConflictSuffix getKeywordConflictSuffix()

setKeywordConflictSuffix(String)

No default value
RefreshSchema getRefreshSchema()

setRefreshSchema(Boolean)

false
SchemaMap getSchemaMap()

setSchemaMap(String)

Default value depends on environment

Proxy server properties

The following table summarizes the proxy server connection properties.

Table 2. Proxy Server 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 the web service connection properties.

Table 3. Web Service Properties
Property Data Source Method Default
StmtCallLimit getStmtCallLimit()

setStmtCallLimit(Integer)

0 (no limit)
StmtCallLimitBehavior getStmtCallLimitBehavior()

setStmtCallLimitBehavior(String)

errorAlways
WSCompressData getWsCompressData()

setWsCompressData(String)

Compress
WSFetchSize getWsFetchSize()

setWsFetchSize(Integer)

100000

Statement pooling properties

The following table summarizes the statement pooling connection properties.

Table 4. Statement Pooling 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.

Table 5. Additional Properties
Property Data Source Method Default
ConvertNull getConvertNull()

setConvertNull(Boolean)

true
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
MaxVarcharSize getMaxVarcharSize()

setMaxVarcharSize(Integer)

64000
ReadOnly getReadOnly()

setReadOnly(Boolean)

false
ServiceList getServiceList()

setServiceList(String)

No default value
ServiceVersion getServiceVersion()

setServiceVersion(String)

Latest
SpyAttributes getSpyAttributes()

setSpyAttributes(String)

No default value
TransactionMode getTransactionMode()

setTransactionMode(String)

NoTransactions