Connection property descriptions
- Last Updated: November 21, 2025
- 2 minute read
- DataDirect Connectors
- JDBC
- PostgreSQL 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.
- General properties
- User ID/password properties
- Kerberos properties
- Entra ID user and password properties
- Entra ID service principal properties
- AWS IAM properties
- Proxy server properties
- Data encryption properties
- Bulk load properties
- Failover properties
- Timeout properties
- Client information properties
- Statement pooling properties
- Additional properties
General properties
The following table summarizes connection properties required to connect to a database.
| Property | Data Source Method | Default |
|---|---|---|
| PortNumber | setPortNumber
|
5432 |
| ServerName | setServerName
|
No default value |
| DatabaseName | setDatabaseName
|
No default value |
User ID/password authentication properties
The following table summarizes the connection properties required for user ID/password authentication.
| Property | Data Source Method | Default |
|---|---|---|
| AuthenticationMethod | setAuthenticationMethod
|
userIdPassword |
| User | setUser
|
No default value |
| Password | setPassword
|
No default value |
Kerberos authentication properties
The following table summarizes the connection properties required for Kerberos authentication.
| Property | Data Source Method | Default |
|---|---|---|
| AuthenticationMethod | setAuthenticationMethod
|
userIdPassword |
| DatabaseName | setDatabaseName
|
No default value |
| ServicePrincipalName | setServicePrincipalName
|
No default value |
| LoginConfigName | setLoginConfigName
|
JDBC_DRIVER_01 |
Entra ID user and password authentication properties
The following table summarizes the connection properties required for Entra ID user and password authentication.
| Property | Data Source Method | Default |
|---|---|---|
| AuthenticationMethod | setAuthenticationMethod
|
userIdPassword |
| User | setUser
|
No default value |
| Password | setPassword
|
No default value |
| AzureTenantID | getAzureTenantID
|
No default value |
Entra ID service principal authentication properties
The following table summarizes the connection properties required for Entra ID service principal authentication.
| Property | Data Source Method | Default |
|---|---|---|
| AuthenticationMethod | setAuthenticationMethod
|
userIdPassword |
| User | setUser
|
No default value |
| Password | setPassword
|
No default value |
| AzureTenantID | public String
getAzureTenantID
|
No default value |
AWS IAM authentication properties
The following table summarizes the connection properties required for AWS IAM authentication.
| Property | Data Source Method | Default |
|---|---|---|
| AuthenticationMethod | setAuthenticationMethod
|
userIdPassword |
| AccessKey |
|
No default value |
| Region |
|
No default value |
| SecretKey |
|
No default value |
| TrustStore | setTrustStore
|
No default value |
| TrustStorePassword | setTrustStorePassword
|
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 which means the default
is determined by the ProxyHost property.For HTTP URLs: For HTTPS URLs: |
| ProxyUser | getProxyUser
|
No default value |
Data encryption properties
The following table summarizes connection properties that can be used to enable SSL.
| Property | Data Source Method | Default |
|---|---|---|
| CryptoProtocolVersion | setCryptoProtocolVersion
|
No default value |
| EncryptionMethod | setEncryptionMethod
|
noEncryption |
| HostNameInCertificate | setHostNameInCertificate
|
No default value |
| KeyStore | setKeyStore
|
No default value |
| KeyStorePassword | setKeyStorePassword
|
No default value |
| KeyPassword | setKeyPassword
|
No default value |
| TrustStore | setTrustStore
|
No default value |
| TrustStorePassword | setTrustStorePassword
|
No default value |
| ValidateServerCertificate | setValidateServerCertificate
|
true |
Bulk load properties
The following table contains the only connection property that affects how bulk load works with the driver.
| Property | Data Source Method | Default |
|---|---|---|
| BulkLoadBatchSize | setBulkLoadBatchSize
|
1000 |
Failover properties
The following table summarizes the connection properties used for configuring failover.
| Property | Data Source Method | Default |
|---|---|---|
| AlternateServers | setAlternateServers
|
No default value |
| ConnectionRetryCount | setConnectionRetryCount
|
5 |
| ConnectionRetryDelay | setConnectionRetryDelay
|
1 (second) |
| DatabaseName | setDatabaseName
|
No default value |
| LoadBalancing | setLoadBalancing
|
false |
Timeout properties
The following table summarizes timeout connection properties.
| Property | Data Source Method | Default |
|---|---|---|
| EnableCancelTimeout | setEnableCancelTimeout
|
false |
| LoginTimeout | setLoginTimeout
|
0 |
| QueryTimeout | setQueryTimeout
|
0 |
Client information properties
The following table summarizes connection properties that can be used to return client information.
| Property | Data Source Method | Default |
|---|---|---|
| AccountingInfo | setAccountingInfo
|
No default value |
| ApplicationName | setApplicationName
|
No default value |
| ClientHostName | setClientHostName
|
No default value |
| ClientUser | setClientUser
|
No default value |
| ProgramID | setProgramID
|
No default value |
Statement pooling properties
The following table summarizes statement pooling connection properties.
| Property | Data Source Method | Default |
|---|---|---|
| ImportStatementPool | setImportStatementPool
|
No default value |
| MaxPooledStatements | setMaxPooledStatements
|
0 |
| RegisterStatementPoolMonitorMBean | setRegisterStatementPoolMonitorMBean
|
false |
Additional properties
The following table summarizes additional connection properties.
| Property | Data Source Method | Default |
|---|---|---|
| BatchMechanism | setBatchMechanism
|
nativeBatch |
| CallEscapeBehavior | setCallEscapeBehavior
|
callIfNoReturn |
| CodePageOverride | setCodePageOverride
|
No default value |
| CatalogOptions | setCatalogOptions
|
2 |
| ConvertNull | setConvertNull
|
1 |
| EnablePrepareThreshold | setEnablePrepareThreshold
|
false |
| ExtendedColumnMetadata | setExtendedColumnMetadata
|
false |
| InitializationString | setInitializationString
|
No default value |
| InsensitiveResultSetBufferSize | setInsensitiveResultSetBufferSize
|
2048 |
| JavaDoubleToString | setJavaDoubleToString
|
false |
| MaxLongVarcharSize | setMaxLongVarcharSize
|
1,073,741,823 |
| MaxNumericPrecision | setMaxNumericPrecision
|
1000 |
| MaxNumericScale | setMaxNumericScale
|
998 |
| MaxStatements | setMaxStatements
|
0 |
| MaxVarcharSize | setMaxVarcharSize
|
10,485,760 |
| PrepareThreshold | setPrepareThreshold
|
1 |
| ResultSetMetaDataOptions | setResultSetMetaDataOptions
|
0 |
| SpyAttributes | setSpyAttributes
|
No default value |
| SupportsCatalogs | setSupportsCatalogs
|
true |
| TransactionErrorBehavior | setTransactionErrorBehavior
|
RollbackTransaction |
| VarcharClobThreshold | setVarcharClobThreshold
|
32768 |