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 the connection properties supported by the driver, their corresponding data source methods, and their default values.

Required properties

The following table summarizes connection properties that are required to connect to a Google BigQuery instance when the default authentication method, OAuth 2.0, is used for authentication.
Table 3. Required properties
Property
Data Source Method
Default
setAccessToken
None
setClientID
None
setClientSecret
None
setDataset
None
setProject
None
setRefreshToken
None

Mapping properties

The following table summarizes connection properties involved in mapping the remote Google BigQuery data model to a local schema map used to support SQL queries against Google BigQuery.
Table 4. Mapping properties
Property
Data Source Method
Default
setConfigOptions
VarcharLength=65535; SchemaSet=;
setCreateMap
notExist
setSchemaMap
For Windows: <application_data_folder>\ Local\Progress\DataDirect \GoogleBigQuery_Schema\ <user_name>.config
For Unix/Linux: ˜/progress/datadirect/ GoogleBigQuery_Schema/ <user_name>.config

OAuth 2.0 properties

The following table summarizes connection properties that are used for OAuth 2.0 authentication.
Table 5. OAuth 2.0 properties
Property
Data Source Method
Default
setAccessToken
None
setClientID
None
setClientSecret
None
setRefreshToken
None
setScope
https://www.googleapis.com/ auth/bigquery

Service account properties

The following table summarizes connection properties that are used for service account authentication.
Table 6. Service account properties
Property
Data Source Method
Default
setServiceAccountEmail
None
setServiceAccountPrivateKey
None

Legacy SQL properties

The following table summarizes connection properties that can be used to execute queries using legacy SQL.
Table 7. Legacy SQL properties
Property
Data Source Method
Default
setAllowLargeResults
false
setLegacyDataset
_queries_
setLegacytable
_sql_*
setSyntax
standard

Failover properties

The following table summarizes connection properties that can be used to implement failover.
Table 8. Failover properties
Property
Data Source Method
Default
setConnectionRetryCount
5
setConnectionRetryDelay
1 (second)

Proxy server properties

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

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
setWSFetchSize
10000
setWSPoolSize
1
setWSRetryCount
1
setWSTimeout
120 (seconds)

Timeout properties

The following table summarizes timeout connection properties.
Table 11. Timeout properties
Property
Data Source Method
Default
setJobTimeout
0 (no timeout)
setLoginTimeout
0
setWSRetryCount
0
setWSTimeout
120 (seconds)

Statement pooling properties

The following table summarizes statement pooling connection properties.
Table 12. Statement pooling properties
Property
Data Source Method
Default
setImportStatementPool
None
setMaxPooledStatements
0
setRegisterStatementPoolMonitorMBean
false

Additional properties

The following table summarizes additional connection properties.
Table 13. Additional properties
Property
Data Source Method
Default
setConvertNull
1
setFetchSize
100 (rows)
setJavaDoubleToString
false
setJsonFormat
raw
setLocation
None
setLogConfigFile
ddlogging.properties
setMaximumBytesBilled
0 (no limit)
setRefreshSchema
true
setRefreshSchemaForDDL
true
setSpyAttributes
None
setUseQueryCache
1
* AccessToken
* AllowLargeResults
* AuthenticationMethod
* ClientID
* ClientSecret
* ConfigOptions
* ConnectionRetryCount
* ConnectionRetryDelay
* ConvertNull
* CreateMap
* Dataset
* FetchSize
* ImportStatementPool
* JavaDoubleToString
* JobTimeout
* JsonFormat
* KMSKeyName
* LegacyDataset
* LegacyTable
* Location
* LogConfigFile
* LoginTimeout
* MaximumBytesBilled
* MaxPooledStatements
* Project
* ProxyHost
* ProxyPassword
* ProxyPort
* ProxyUser
* RefreshSchema
* RefreshSchemaForDDL
* RefreshToken
* RegisterStatementPoolMonitorMBean
* SchemaMap
* Scope
* ServiceAccountEmail
* ServiceAccountPrivateKey
* SpyAttributes
* Syntax
* UseQueryCache
* WSFetchSize
* WSPoolSize
* WSRetryCount
* WSTimeout