skip to main content
Connection property descriptions
  

Try DataDirect Drivers Now

Connection property descriptions

You can use connection properties to customize the driver for your environment. This section lists the connection properties supported by the driver and describes each property. You can use these connection properties with either the JDBC DriverManager or a JDBC DataSource. 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). Connection property names are case-insensitive. For example, Password is the same as password.
Note: In a JDBC DataSource, string values must be enclosed in double quotation marks, for example, setUser("abc@defcorp.com").
Note: The data type listed for each connection property is the Java data type used for the property value in a JDBC data source.
The following tables provide a summary of supported connection properties by functionality, including their corresponding data source methods, and their default values.

Required properties

The following table summarizes connection properties which are required to connect to a Jira data source.
Table 7. Required Properties
Property
Data Source Method
Default
setServerName
None
setPassword
None
setUser
None

Data encryption properties

The following table summarizes connection properties which can be used to enable SSL.
Table 8. Data Encryption Properties
Property
Data Source Method
Default
setCryptoProtocolVersion
None
setKeyPassword
None
setKeyStore
None
setKeyStorePassword
None
setHostNameInCertificate
None
setTrustStore
None
setTrustStorePassword
None
setValidateServerCertificate
true

Proxy server properties

The following table summarizes proxy server connection properties.
Table 9. Proxy Server Properties
Property
Data Source Method
Default
setProxyHost
Empty string
setProxyPassword
Empty string
setProxyPort
0
setProxyUser
Empty string

Web service properties

The following table summarizes Web service connection properties, including those related to timeouts.
Table 10. Web Service Properties
Property
Data Source Method
Default
setLoginTimeout
0 (no timeout)
setStmtCallLimit
0 (no limit)
setStmtCallLimitBehavior
errorAlways
setWSFetchSize
0 (maximum of 1000 rows)
setWSPoolSize
1
setWSRetryCount
5
setWSTimeout
120 (seconds)

Data type properties

The following table summarizes connection properties which can be used to handle data types.
Table 11. Data Type Properties
Property
Data Source Method
Default
setConvertNull
1 (data type check is performed if column value is null)
setJDBCBehavior
1 (data types described using JDBC 3.0-equivalent data types)

Timeout properties

The following table summarizes timeout connection properties.
Table 12. Timeout Properties
Property
Data Source Method
Default
setLoginTimeout
0 (no timeout)
setWSRetryCount
0 (no retries for timed-out requests)
setWSTimeout
120 (seconds)

Statement pooling properties

The following table summarizes statement pooling connection properties.
Table 13. Statement Pooling Properties
Property
Data Source Method
Default
setImportStatementPool
Empty string
setMaxPooledStatements
0 (driver’s internal prepared statement pooling is not enabled)
setRegisterStatementPoolMonitorMBean
false

Additional properties

The following table summarizes additional connection properties.
Table 14. Additional Properties
Property
Data Source Method
Default
setDebugRecord
None
setFetchSize
100 (rows)
setInsensitiveResultSetBufferSize
2048 (KB of memory)
setLogConfigFile
ddlogging.properties
setPortNumber
For http connections:
80
For https connections:
443
setReadAhead
0
setSpyAttributes
None
* ConvertNull
* CryptoProtocolVersion
* DebugRecord
* FetchSize
* HostNameInCertificate
* ImportStatementPool
* InsensitiveResultSetBufferSize
* JDBCBehavior
* KeyPassword
* KeyStore
* KeyStorePassword
* LogConfigFile
* LoginTimeout
* MaxPooledStatements
* Password
* PortNumber
* ProxyHost
* ProxyPassword
* ProxyPort
* ProxyUser
* ReadAhead
* RegisterStatementPoolMonitorMBean
* ServerName
* SpyAttributes
* StmtCallLimit
* StmtCallLimitBehavior
* TrustStore
* TrustStorePassword
* User
* ValidateServerCertificate
* WSFetchSize
* WSPoolSize
* WSRetryCount
* WSTimeout