Connection property descriptions
- Last Updated: August 23, 2024
- 2 minute read
- DataDirect Connectors
- JDBC
- SAP S/4HANA 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).
- 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,
Passwordis the same aspassword. - 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 }orPassword={{hello}}.
The following tables describe the connection properties by functionality:
- Basic authentication properties
- HTTP Header authentication properties
- Mapping properties
- Proxy server properties
- Web service properties
- Statement pooling properties
- Additional properties
Basic authentication properties
The following table summarizes the connection properties required to connect to a service when using basic authentication.
| Property | Data Source Method | Default |
|---|---|---|
| AuthenticationMethod | getAuthenticationMethod()
|
Basic |
| ServerName | getServerName()
|
No default value |
| Password | getPassword()
|
No default value |
| User | getUser()
|
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()
|
Basic |
| AuthHeader | getAuthHeader()
|
No default value |
| ServerName | getServerName()
|
No default value |
| SecurityToken | getSecurityToken()
|
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()
|
NotExist |
| KeywordConflictSuffix | getKeywordConflictSuffix()
|
No default value |
| RefreshSchema | getRefreshSchema()
|
false |
| SchemaMap | getSchemaMap()
|
Default value depends on environment |
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
|
| WSCompressData | getWsCompressData()
|
Compress |
| WSFetchSize | getWsFetchSize()
|
100000 |
Statement pooling properties
The following table summarizes the statement pooling connection properties.
| Property | Data Source Method | Default |
|---|---|---|
| ImportStatementPool | getImportStatementPool()
|
No default value |
| MaxPooledStatements | getMaxPooledStatements()
|
0 |
| RegisterStatementPoolMonitorMBean | getRegisterStatementPoolMonitorMbean()
|
false
|
Additional properties
The following table summarizes additional connection properties.
| Property | Data Source Method | Default |
|---|---|---|
| ConvertNull | getConvertNull()
|
true |
| FetchSize | getFetchSize()
|
100
(rows) |
| InitializationString | getInitializationString()
|
No default value |
| InsensitiveResultSetBufferSize | getInsensitiveResultsetBufferSize()
|
2048 (KB of memory) |
| LogConfigFile | getLogConfigFile()
|
ddlogging.properties |
| MaxVarcharSize | getMaxVarcharSize()
|
64000 |
| ReadOnly | getReadOnly()
|
false |
| ServiceList | getServiceList()
|
No default value |
| ServiceVersion | getServiceVersion()
|
Latest |
| SpyAttributes | getSpyAttributes()
|
No default value |
| TransactionMode | getTransactionMode()
|
NoTransactions |