21 The Salesforce Driver : Connection Option Descriptions

Connection Option Descriptions
The following connection option descriptions are listed alphabetically by the GUI name that appears on the driver Setup dialog box. The connection string attribute name, along with its short name, is listed immediately underneath the GUI name. For example:
Application Using Threads
Attribute
ApplicationUsingThreads (AUT)
In most cases, the GUI name and the attribute name are the same; however, some exceptions exist. If you need to look up an option by its connection string attribute name, please refer to the alphabetical table of connection string attribute names.
Also, a few connection string attributes, for example, Password, do not have equivalent options that appear on the GUI. They are in the list of descriptions alphabetically by their attribute names.
Table 21-1 lists the connection string attributes supported by the Salesforce driver.
The file name prefix the driver uses to create or locate the set of files that define the embedded database per connection.
Empty string (logs into the default Salesforce instance, login.salesforce.com.
install_dir\java\lib\sforce.jar
Application Using Threads
Attribute
ApplicationUsingThreads (AUT)
Description
Determines whether the driver works with applications using multiple ODBC threads.
This connection option can affect performance. See “Performance Considerations” for details.
Valid Values
0 | 1
If set to 1 (Enabled), the driver works with single-threaded and multi-threaded applications.
If set to 0 (Disabled), the driver does not work with multi-threaded applications. If using the driver with single-threaded applications, this value avoids additional processing required for ODBC thread-safety standards.
Default
1 (Enabled)
GUI Tab
Advanced tab
Bulk Load Asynchronous
Attribute
BulkLoadAsync (BLA)
Description
Determines whether the driver treats bulk load operations as synchronous or asynchronous.
Valid Values
0 | 1
If set to 0 (Disabled), bulk load operations are synchronous. The driver does not return from the function that invoked an operation until the operation is complete or the BulkLoadTimeout period has expired. If the operation times out, the driver returns an error.
If set to 1 (Enabled), bulk load operations are asynchronous. The driver returns from the function that invoked an operation after the operation is submitted to the server. The driver does not verify the completion status of the bulk load operation.
Default
0 (Disabled)
GUI Tab
Bulk tab
Bulk Load Batch Size
Attribute
BulkLoadBatchSize (BLBS)
Description
The number of rows that the driver sends to the database at a time during bulk operations. This value applies to all methods of bulk loading.
Valid Values
x
where x is a positive integer that specifies the number of rows to be sent.
Default
1024
GUI Tab
Bulk tab
Bulk Load Concurrency Mode
Attribute
BulkLoadConcurrencyMode (BLCM)
Description
Determines whether multiple batches associated with a bulk load operation are processed by Salesforce in parallel or one at a time. See “Using DataDirect Bulk Load” for more information.
Valid Values
0 | 1
If set to 0 (Serial), multiple batches associated with a bulk load operation are processed one at a time.
If set to 1 (Parallel), multiple batches associated with a bulk load operation are processed in parallel. The order in which the batches are processed can vary.
Default
1 (Parallel)
GUI Tab
Bulk tab
Bulk Load Poll Interval
Attribute
BulkLoadPollInterval (BLPI)
Description
Specifies the number of seconds the driver waits to request bulk operation status. This interval is used by the driver the first time it requests status and for all subsequent status requests. See “Using DataDirect Bulk Load” for more information.
Valid Values
x
where x is a positive integer that represents the number of seconds the driver waits before requesting bulk operation status.
Default
10
GUI Tab
Bulk tab
Bulk Load Threshold
Attribute
BulkLoadThreshold (BLTH)
Description
Determines when the driver uses bulk load for insert, update, delete, or batch operations. If the Enable Bulk Load option is set to True and the number of rows affected by an insert, update, delete, or batch operation exceeds the threshold specified by this option, the driver uses the Salesforce Bulk API to perform the operation.
NOTES:
If the Enable Bulk Load option is set to false, this option is ignored.
Do not set the Bulk Load Threshold option to a value greater than the Web service call limit set by the Statement Call Limit option. If the value set for Bulk Load Threshold is greater than the value of Statement Call Limit, the driver would never use the Salesforce Bulk API because the Web service call limit is reached before the driver reaches the threshold to switch to the Salesforce Bulk API.
Valid Values
0 | x
where x is a positive integer that represents a threshold (number of rows).
If set to 0, the driver always uses bulk load to execute insert, update, delete, or batch operations.
If set to x, the driver only uses bulk load if the Enable Bulk Load option is set to a value of True and the number of rows to be updated by an insert, update, delete, or batch operation exceeds the threshold. If the operation times out, the driver returns an error.
Default
4000
GUI Tab
Bulk tab
Bulk Load Timeout
Attribute
BulkLoadTimeout (BLTO)
Description
The time, in seconds, that the driver waits for a Salesforce bulk job to complete. A value of zero means there is no timeout.
Valid Values
x
where x is a positive integer that represents a number of seconds the driver waits before requesting bulk operation status.
Default
0
GUI Tab
Bulk tab
Config Options
Attribute
ConfigOptions (CO)
Description
Determines how the embedded database and the mapping of the remote data model to the relational data model is configured, customized, and updated.
NOTE: This option is primarily used for initial configuration of the driver for a particular user. It is not intended for use with every connection. By default, the driver configures itself and this option is normally not needed. If Config Options is specified on a connection after the initial configuration, the values specified for Config Options must match the values specified for the initial configuration. The preferred method for setting the configuration options for a particular user is through the database configuration file. See “Database Configuration File” for details.
Valid Values
(key=value[; key=value])
where key is one of the following values: AuditColumns, CustomSuffix, MapSystemColumnNames, NumberFieldMapping, or UppercaseIdentifiers.
The value is a set of key value pairs separated by a semicolon (;). The value must be enclosed in parentheses. For example:
(AuditColumns=AuditOnly;UppercaseIdentifiers=false)
AuditColumns: Determines whether the driver includes audit fields, which Salesforce adds to all objects defined in a Salesforce instance, as table columns when it defines the remote data model to relational table mapping.
The audit columns added by Salesforce are:
IsDeleted
CreatedById
CreatedDate
LastModifiedById
LastModifiedDate
SystemModestamp
Salesforce also adds the field MasterRecordId.
Valid values for AuditColumns are:
The default value for AuditColumns is None.
In a typical Salesforce instance, not all users are granted access to the Audit or MasterRecordId columns. If AuditColumns is set to a value other than None and the driver cannot include the columns requested, the connection fails and the driver generates a SQLException with a SQLState of 08001.
CustomSuffix (Custom objects and fields only): Determines whether the driver includes or strips the "__c" suffix from the table and column names when mapping the remote data model to the relational data model. Salesforce adds the suffix to all custom objects and fields.
Valid values for CustomSuffix are:
The default value for CustomSuffix is Strip.
MapSystemColumnNames: Determines how the driver maps Salesforce system columns. Valid values for MapSystemColumnNames are:
Field Name Mapped Name
Id                                 ROWID
Name                          SYS_NAME
IsDeleted                     SYS_ISDELETED
CreatedDate                SYS_CREATEDDATE
CreatedById                SYS_CREATEDBYID
LastModifiedDate        SYS_LASTMODIFIEDDATE
LastModifiedId             SYS_LASTMODIFIEDID
SystemModstamp        SYS_SYSTEMMODSTAMP
LastActivityDate           SYS_LASTACTIVITYDATE
OwnerId                       SYS_OWNERID
The default value for MapSystemColumnNames is 1.
NumberFieldMapping: Defines how the driver maps fields defined as NUMBER in Salesforce. The Salesforce API uses DOUBLE values to transfer data to and from NUMBER fields, which can cause problems when the precision of the NUMBER field is greater than the precision of a DOUBLE value. Rounding can occur when converting large values to and from DOUBLE. By default, the driver maps smaller fields (precision of 9 or less) to the INTEGER SQL type when the scale of the NUMBER field is 0 and maps all other NUMBER fields to the DOUBLE SQL type to match the type that Salesforce transfers the value to or from the driver. This key can be used to direct the driver to map all NUMBER fields to DOUBLE regardless of the precision of the field.
Valid values for NumberFieldMapping are:
The driver maps NUMBER fields with a precision of 9 or less and a scale of 0 to the INTEGER SQL type and maps all other NUMBER fields to the DOUBLE SQL type.
The default value for NumberFieldMapping is 1.
UppercaseIdentifiers: Defines how the driver maps identifiers. By default, the driver maps all identifier names to uppercase.
NOTE: Do not change the value of UppercaseIdentifiers unless the data source you are connecting to has objects with names that differ only by case.
Valid values for UppercaseIdentifiers are:
The driver maps identifiers to the mixed case name of the object being mapped. If mixed case identifiers are used, SQL statements must enclose those identifiers in double quotes, and the case of the identifier, must exactly match the case of the identifier name.
The default value for UppercaseIdentifiers is true.
Default
AuditColumns=none;CustomSuffix=strip;MapSystemColumnNames=1;
NumberFieldMapping=1;UppercaseIdentifiers=true
GUI Tab
Advanced tab
Connection Pooling
Attribute
Pooling (POOL)
Description
Specifies whether to use the driver’s connection pooling.
NOTE: The application must be thread-enabled to use connection pooling.
This connection option can affect performance. See “Performance Considerations” for details.
Valid Values
0 | 1
If set to 1 (Enabled), the driver uses connection pooling.
If set to 0 (Disabled), the driver does not use connection pooling.
Default
0 (Disabled)
GUI Tab
Pooling tab
Connection Reset
Attribute
ConnectionReset (CR)
Description
Determines whether the state of connections that are removed from the connection pool for reuse by the application is reset to the initial configuration of the connection.
This connection option can affect performance. See “Performance Considerations” for details.
Valid Values
0 | 1
If set to 1 (Enabled), the state of connections removed from the connection pool for reuse by an application is reset to the initial configuration of the connection. Resetting the state can negatively impact performance because additional commands must be sent over the network to the server to reset the state of the connection.
If set to 0 (Disabled), the state of connections is not reset.
Default
0 (Disabled)
GUI Tab
Pooling tab
Create Database
Attribute
CreateDB (CDB)
Description
Determines whether the driver creates a new embedded database when establishing the connection.
Valid Values
0 | 1 | 2
If set to 0 (No), the driver uses the current embedded database specified by DatabaseName. If one does not exist, the connection fails.
If set to 1 (ForceNew), the driver deletes the current embedded database specified by Database and creates a new one at the same location.
WARNING: This causes all views, data caches, and map customizations defined in the current database to be lost.
If set to 2 (NotExist), the driver uses the current embedded database specified by DatabaseName. If one does not exist, the driver creates one.
Default
2 (NotExist)
GUI Tab
Advanced tab
Data Source Name
Attribute
DataSourceName (DSN)
Description
The name of a data source in your Windows Registry or odbc.ini file.
Valid Values
string
where string is the name of a data source.
Default
None
GUI Tab
General tab
Database
Attribute
Database (DBN)
Description
Specifies the file name prefix the driver uses to create or locate the set of files that define the Object mapping and the embedded database used by the connection. See “Mapping Objects to Tables” for an explanation of embedded database.
Valid Values
prefix | path+prefix
where:
prefix is the file name prefix for the embedded database. For example, if Database is set to a value of JohnQPublic, the embedded database files that are created or loaded have the form johnqpublic.xxx.
path+prefix is a relative or absolute path appended to the file name prefix. The path defines the directory the driver uses to store the newly created database files or locate the existing database files. For example, if Database is set to a value of C:\data\db\johnqpublic, the driver either creates or looks for the database johnqpublic.xxx in the directory C:\data\db. If you do not specify a path, the current working directory is used.
Default
The user ID specified for the connection.
NOTES:
The driver parses the User ID value and removes all non-alphanumeric characters. For example, if User ID is specified as John.Q.Public, the value used for Database is JohnQPublic.
When SQL Engine Mode is set to Server, the path+prefix value overrides the value specified by the Server DB Directory configuration setting (see “Configuring Server Mode”).
Description
Attribute
Description (n/a)
Description
An optional long description of a data source. This description is not used as a runtime connection attribute, but does appear in the ODBC.INI section of the Registry and in the odbc.ini file.
Valid Values
string
where string is a description of a data source.
Default
None
GUI Tab
General tab
Enable Bulk Load
Attribute
EnableBulkLoad (EBL)
Description
Specifies whether the driver can use the bulk load protocol for insert, update, delete, and batch operations. Bulk load can reduce the number of Web service calls used to execute a statement when compared to statements that are executed individually and may improve performance. Whether the driver actually uses bulk load is determined by the Bulk Load Threshold connection option.
Valid Values
True | False
If set to True, the driver can use the bulk load protocol for insert, update, delete, and batch operations.
If set to False, the driver cannot use the bulk load protocol for insert, update, delete, and batch operations.
Default
False
GUI Tab
Bulk tab
Extended Options
Attribute
ExtendedOptions (XO)
Description
A semi-colon separated list of connection options and their values. Use this connection option to set the value of hidden connection options that are provided by Progress customer support. You can include any valid connection option in the Extended Options string.
If the Extended Options string contains option values that are also set in the setup dialog or data source, the values of the options specified in the Extended Options string take precedence.
Options, either hidden or exposed, that are specified on a connection string override any option value specified in the Extended Options string.
Do not specify the Extended Options connection option in a connection string, or the driver will return an error. Instead, applications should specify the individual hidden connection options in the connection string.
Valid Values
A string consisting of one or more key=value pairs, for example, HostName=login.salesforce.com;HiddenOption1=value[;HiddenOption2=value;]
Default
Empty string
GUI Tab
Advanced tab
Fetch Size
Attribute
FetchSize (FS)
Description
The number of rows that the driver processes before returning data to the application. Smaller fetch sizes can improve the initial response time of the query. Larger fetch sizes improve overall fetch times at the cost of additional memory.
FetchSize is related to, but different from, WSFetch Size. WS Fetch Size specifies the number of rows of raw data that the driver fetches from the remote data source, while Fetch Size specifies how many of these raw data rows the driver processes before returning data to the application. Processing the data includes converting from the remote data source data type to the driver SQL data type used by the application. If Fetch Size is greater than WS Fetch Size, the driver makes multiple round trips to the data source to get the requested number of rows before returning control to the application.
Valid Values
0 | x
where x is a positive integer that specifies the number of rows that the driver processes before returning data to the application.
If set to 0, the driver fetches and processes all of the rows of the result before returning control to the application.
Default
100
GUI Tab
Advanced tab
Field Delimiter
Attribute
BulkLoadFieldDelimiter (BLFD)
Description
Specifies the character that the driver will use to delimit the field entries in a bulk load data file.
Valid Values
x
where x is any printable character.
For simplicity, avoid using a value that can be in the data, including all alphanumeric characters, the dash(-), the colon(:), the period (.), the forward slash (/), the space character, the single quote (') and the double quote ("). You can use some of these characters as delimiters if all of the data in the file is contained within double quotes.
NOTE: The Bulk Load Field Delimiter character must be different from the Bulk Load Record Delimiter.
Default
None
GUI Tab
Bulk tab
Host Name
Attribute
HostName (HOST)
Description
The base Salesforce URL to use for logging in. If you are logging into a Salesforce instance other than the default, you must provide the root of the Salesforce URL.
Valid Values
url
where:
url is the is the root of the Salesforce URL to which you want to connect.
Example
Suppose you have a Salesforce instance that is configured with a production instance and a sandbox instance. You can specify login.salesforce.com as the value for the HostName attribute to connect to the production instance or test.salesforce.com to connect to the sandbox instance:
Default
None if you use the default Salesforce URL, login.salesforce.com
GUI Tab
General tab
Initialization String
Attribute
InitializationString (IS)
Description
One or multiple SQL commands to be executed by the driver after it has established the connection to the database and has performed all initialization for the connection. If the execution of a SQL command fails, the connection attempt also fails and the driver returns an error indicating which SQL command or commands failed.
Valid Values
string
where string is one or multiple SQL commands.
Multiple commands must be separated by semicolons. In addition, if this option is specified in a connection URL, the entire value must be enclosed in parentheses when multiple commands are specified.
Example
Because fetching metadata and generating mapping files can significantly increase the time it takes to connect to Salesforce, the driver caches this information on the client the first time the driver connects on behalf of each user. The cached metadata is used in subsequent connections made by the user instead of re-fetching the metadata from Salesforce. To force the driver to re-fetch the metadata information for a connection, use the InitializationString property to pass the REFRESH SCHEMA SFORCE command in the connection URL. For example:
DSN=Salesforce;UID={test@abccorp.com};PWD=secret;InitializationString=(REFRESH SCHEMA SFORCE)
Default
None
GUI Tab
Advanced tab
JVM Arguments
Attribute
JVMArgs (JVMA)
Description
A string that contains the arguments that are passed to the JVM that the driver is starting. The location of the JVM must be specified on the driver library path. For information on setting the location of the JVM in your environment, see:
When specifying the heap size for the JVM, note that the JVM tries to allocate the heap memory as a single contiguous range of addresses in the application’s memory address space. If the application's address space is fragmented so that there is no contiguous range of addresses big enough for the amount of memory specified for the JVM, the driver fails to load, because the JVM cannot allocate its heap. This situation is typically encountered only with 32-bit applications, which have a much smaller application address space. If you encounter problems with loading the driver in an application, try reducing the amount of memory requested for the JVM heap. If possible, switch to a 64-bit version of the application.
Valid Values
string
where the string contains arguments that are defined by the JVM. Values that include special characters or spaces must be enclosed in curly braces { } when used in a connection string.
Examples
To set the heap size used by the JVM to 256 MB and the http proxy information, specify:
{-Xmx256m -Dhttp.proxyHost=johndoe -Dhttp.proxyPort=808}
To set the heap size to 256 MB and configure the JVM for remote debugging, specify:
{-Xmx256m
-Xrunjdwp:transport=dt_socket, address=9003,server=y,suspend=n -Xdebug}
Default
-Xmx256m
GUI Tab
General tab
JVM Classpath
Attribute
JVMClasspath (JVMC)
Description
Specifies the CLASSPATH for the Java Virtual Machine (JVM) used by the driver. The CLASSPATH is the search string the JVM uses to locate the Java jar files the driver needs.
Valid Values
string
where the string specifies the CLASSPATH. Separate multiple jar files by a semi-colon on Windows platforms and by a colon on Linux and UNIX platforms. CLASSPATH values with multiple jar files must be enclosed in curly braces { } when used in a connection string.
Example
On Windows:
{.;c:\install_dir\java\lib\
}
On UNIX:
{.:/home/user1/install_dir/java/lib/sforce.jar}
Default
install_dir\java\lib\sforce.jar
GUI Tab
General tab
LoadBalance Timeout
Attribute
LoadBalanceTimeout (LBT)
Description
The number of seconds to keep inactive connections open in a connection pool. An inactive connection is a database session that is not associated with an ODBC connection handle, that is, a connection in the pool that is not in use by an application.
NOTE: The Min Pool Size option may cause some connections to ignore this value.
This connection option can affect performance. See “Performance Considerations” for details.
Valid Values
0 | x
where x is a positive integer that specifies a number of seconds.
If set to 0, inactive connections are kept open.
If set to x, inactive connections are closed after the specified number of seconds passes.
Default
0
GUI Tab
Pooling tab
Log Config File
Attribute
LogConfigFile (LCF)
Description
Specifies the filename of the configuration file used to initialize the driver logging mechanism.
If the driver cannot locate the specified file when establishing the connection, the connection fails and the driver returns an error.
Valid Values
string
where string is the relative or fully qualified path of the configuration file used to initialize the driver logging mechanism. If the specified file does not exist, the driver continues searching for an appropriate configuration file as described in "Using Logging" in the DataDirect Connect Series for ODBC Reference.
Default
Empty string
GUI Tab
Advanced tab
Login Timeout
Attribute
LoginTimeout (LT)
Description
The number of seconds the driver waits for a connection to be established before returning control to the application and generating a timeout error. To override the value that is set by this connection option for an individual connection, set a different value in the SQL_ATTR_LOGIN_TIMEOUT connection attribute using the SQLSetConnectAttr() function.
Valid Values
0 | x
where x is a positive integer that specifies a number of seconds.
If set to 0, inactive connections are kept open.
If set to x, inactive connections are closed after the specified number of seconds passes.
Default
15
GUI Tab
Advanced tab
Logon Domain
Attribute
LogonDomain (LD)
Description
Specifies the domain part of the Salesforce user id. If Logon Domain is not an empty string, the driver first appends the @ character to the end of the User Name value and then appends the value of Logon Domain.
Valid Values
string
where string is a valid user ID domain.
Default
Empty string
GUI Tab
Security tab
Specifies how often, in seconds, the driver checks the maintenance thread. A single maintenance thread is used to enforce minimum and maximum pool sizes in the connection pool. This option is not used as a runtime connection option, but does appear in the ODBC.INI section of the Registry and in the odbc.ini file.
Max Pool Size
Attribute
MaxPoolSize (MXPS)
Description
The maximum number of connections allowed within a single connection pool. When the maximum number of connections is reached, no additional connections can be created in the connection pool.
This connection option can affect performance. See “Performance Considerations” for details.
Valid Values
An integer from 1 to 65535
For example, if set to 20, the maximum number of connections allowed in the pool is 20.
Default
100
GUI Tab
Pooling tab
Min Pool Size
Attribute
MinPoolSize (MNPS)
Description
The minimum number of connections that are opened and placed in a connection pool, in addition to the active connection, when the pool is created. The connection pool retains this number of connections, even when some connections exceed their Load Balance Timeout value.
This connection option can affect performance. See “Performance Considerations” for details.
Valid Values
0 | x
where x is an integer from 1 to 65535.
For example, if set to 5, the start-up number of connections in the pool is 5 in addition to the current existing connection.
If set to 0, no connections are opened in addition to the current existing connection.
Default
0
GUI Tab
Pooling tab
Password
Attribute
Password (PWD)
Description
Specifies the password to use to connect to your Salesforce instance. A password is required. Contact your system administrator to obtain your password.
IMPORTANT: Setting the password using a data source is not recommended. The data source persists all options, including the Password option, in clear text.
Valid Values
password | password+securitytoken
where:
password is a valid password. The password is case-sensitive.
password+securitytoken is a valid password appended by the security token required to connect to the Salesforce instance, for example, secretXaBARTsLZReM4Px47qPLOS, where secret is the password and the remainder of the value is the security token. Both the password and security token are case-sensitive.
Optionally, you can specify the security token in the Security Token option. Do not specify the security token in both options.
Default
None
See Also
“Security Token”
Proxy Host
Attribute
ProxyHost (PXHN)
Description
Specifies the Hostname and possibly the Domain of the Proxy Server. The value specified can be a host name, a fully qualified domain name, or an IPv4 or IPv6 address.
Valid Values
server_name | IP_address
where:
server_name is the name of the server or a fully qualified domain name to which you want to connect.
The IP address can be specified in either IPv4 or IPv6 format, or a combination of the two. See “Using IP Addresses” for details about these formats.
Default
Empty string
GUI Tab
Proxy tab
Proxy Password
Attribute
ProxyPassword (PXPW)
Description
Specifies the password needed to connect to the Proxy Server.
Valid Values
String
Specifies the password to use to connect to the Proxy Server. Contact your system administrator to obtain your password.
Default
Empty string
GUI Tab
Proxy tab
Proxy Port
Attribute
ProxyPort (PXPT)
Description
Specifies the port number where the Proxy Server is listening for HTTP and/or HTTPS requests.
Valid Values
port_name
where the port_name is the port number of the server listener. Check with your system administrator for the correct number.
Default
0
GUI Tab
Proxy tab
Proxy User
Attribute
ProxyUser (PXUN)
Description
Specifies the user name needed to connect to the Proxy Server.
Valid Values
The default user ID that is used to connect to the Proxy Server.
Default
Empty string
GUI Tab
Proxy tab
Read Only
Attribute
ReadOnly (RO)
Description
Specifies whether the connection has read-only access to the data source.
Valid Values
0 | 1
If set to 1, the connection has read-only access. The following commands are the only commands that you can use when a connection if read-only:
The driver returns an error if any other command is executed.
If set to 0, the connection is opened for read/write access, and you can use all commands supported by the product.
Default
0
GUI Tab
Advanced tab
Record Delimiter
Attribute
BulkLoadRecordDelimiter (BLRD)
Description
Specifies the character that the driver will use to delimit the record entries in a bulk load data file.
Valid Values
x
where x is any printable character.
For simplicity, avoid using a value that can be in the data, including all alphanumeric characters, the dash(-), the colon(:), the period (.), the forward slash (/), the space character, the single quote (') and the double quote ("). You can use some of these characters as delimiters if all of the data in the file is contained within double quotes.
NOTE: The Bulk Load Record Delimiter character must be different from the Bulk Load Field Delimiter.
Default
None
GUI Tab
Bulk tab
Refresh Dirty Cache
Attribute
RefreshDirtyCache (RDC)
Description
Specifies whether the driver refreshes a dirty cache on the next fetch operation from the cache. A cache is marked as dirty when a row is inserted into or deleted from a cached table or a row in the cached table is updated.
Valid Values
1 | 0
If set to 1 (Enabled), a dirty cache is refreshed when the cache is referenced in a fetch operation. The cache state is set to initialized if the refresh succeeds.
If set to 0 (Disabled), a dirty cache is not refreshed when the cache is referenced in a fetch operation.
Default
1 (Enabled)
See Also
“Refreshing Cache Data”
GUI Tab
Advanced tab
Report Codepage Conversion Errors
Attribute
ReportCodepageConversionErrors (RCCE)
Description
Specifies how the driver handles code page conversion errors that occur when a character cannot be converted from one character set to another.
An error message or warning can occur if an ODBC call causes a conversion error, or if an error occurs during code page conversions to and from the database or to and from the application. The error or warning generated is Code page conversion error encountered. In the case of parameter data conversion errors, the driver adds the following sentence: Error in parameter x, where x is the parameter number. The standard rules for returning specific row and column errors for bulk operations apply.
Valid Values
0 | 1 | 2
If set to 0 (Ignore Errors), the driver substitutes 0x1A for each character that cannot be converted and does not return a warning or error.
If set to 1 (Return Error), the driver returns an error instead of substituting 0x1A for unconverted characters.
If set to 2 (Return Warning), the driver substitutes 0x1A for each character that cannot be converted and returns a warning.
Default
0 (Ignore Errors)
GUI Tab
Advanced tab
Security Token
Attribute
SecurityToken (STK)
Description
Specifies the security token required to make a connection to a Salesforce instance that is configured for a security token. If a security token is required and you do not supply one, the driver returns an error indicating that an invalid user or password was supplied. Contact your Salesforce administrator to find out if a security token is required.
NOTE: When setting the security token using a data source on Windows, the Security Token option is encrypted.
Valid Values
string
where string is the value of the security token assigned to the user.
Optionally, you can specify the security token in the Password option by appending the security token to the password, for example, secretXaBARTsLZReM4Px47qPLOS, where secret is the password and the remainder of the value is the security token. Do not specify the security token in both options.
Default
Empty string
GUI Tab
Security tab
Server Port Number
Attribute
ServerPortNumber (SPN)
Description
Specifies a valid port on which the SQL engine listens for requests from the driver.
NOTE: This option is ignored unless SQL Engine Mode is set to 1 (Server).
Valid Values
port_name
where the port_name is the port number of the server listener. Check with your system administrator for the correct number.
Default
19928
GUI Tab
SQL Engine
SQL Engine Mode
Attribute
SQLEngineMode (SEM)
Description
Specifies whether the driver’s SQL engine runs in the same 32-bit process as the driver (direct mode) or runs in a process that is separate from the driver (server mode). You must be an administrator to modify the server mode configuration values, and to start or stop the SQL engine service.
Valid Values
0 | 1
If set to 0 (Direct), the SQL engine runs in direct mode. The driver and its SQL engine run in a single process within the same JVM.
If set to 1 (Server), the SQL engine runs in server mode. The SQL engine operates in a separate process from the driver within its own JVM. You must start the SQL Engine service before using the driver (see “Starting the SQL Engine Server” for more information). Multiple drivers on different clients can use the same service.
IMPORTANT: Changes you make to the server mode configuration affect all DSNs sharing the service.
Default
0 - Direct
GUI Tab
SQL Engine
Statement Call Limit
Attribute
StmtCallLimit (SCL)
Description
Specifies the maximum number of Web service calls the driver can make when executing any single SQL statement or metadata query.
Valid Values
0 | x
where x is a positive integer that defines the maximum number of Web service calls the driver can make when executing any single SQL statement or metadata query.
If set to 0, there is no limit.
If set to x, the driver uses this value to set the maximum number of Web service calls on a single connection that can be made when executing a SQL statement. This limit can be overridden by changing the STMT_CALL_LIMIT session attribute using the ALTER SESSION statement. For example, the following statement sets the statement call limit to 10 Web service calls:
ALTER SESSION SET STMT_CALL_LIMIT=10
If the Web service call limit is exceeded, the behavior of the driver depends on the value specified for the Stmt Call Limit Behavior option.
Default
20
GUI Tab
Web Service tab
Stmt Call Limit Behavior
Attribute
StmtCallLimitBehavior (SCLB)
Description
Specifies the behavior of the driver when the maximum Web service call limit specified by the Statement Call Limit option is exceeded.
Valid Values
1 | 2
If set to 1 (ErrorAlways), the driver returns an error if the maximum Web service call limit is exceed.
If set to 2 (ReturnResults), the driver returns any partial results it received prior to the call limit being exceeded. The driver generates a warning that not all of the results were fetched.
Default
1 (ErrorAlways)
GUI Tab
Web Service tab
Transaction Mode
Attribute
TransactionMode (TM)
Description
Specifies how the driver handles manual transactions.
Valid Values
0 | 1
If set to 1 - Ignore, the data source does not support transactions and the driver always operates in auto-commit mode. Calls to set the driver to manual commit mode and to commit transactions are ignored. Calls to rollback a transaction cause the driver to return an error indicating that no transaction is started. Metadata indicates that the driver supports transactions and the ReadUncommitted transaction isolation level.
If set to 0 - No Transactions, the data source and the driver do not support transactions. Metadata indicates that the driver does not support transactions.
Default
0 (No Transactions)
GUI Tab
Advanced tab
User Name
Attribute
LogonID (UID)
Description
The default user ID that is used to connect to your database. Your ODBC application may override this value or you may override it in the logon dialog box or connection string.
Valid Values
userid
where userid is a valid user ID with permissions to access the database.
Default
None
GUI Tab
Security tab
See Also
“Logon Domain”
WSFetch Size
Attribute
WSFetchSize (WSFS)
Description
Specifies the number of rows of data the driver attempts to fetch for each ODBC call.
Valid Values
0 | x
where x is a positive integer from 1 to 2000 that defines a number of rows.
If set to 0, the driver attempts to fetch up to a maximum of 2000 rows. This value typically provides the maximum throughput.
If set to x, the driver attempts to fetch up to a maximum of the specified number of rows. Setting the value lower than 2000 can reduce the response time for returning the initial data. Consider using a smaller WSFetch Size for interactive applications only.
Default
0 (up to a maximum of 2000 rows)
GUI Tab
Web Service tab
See Also
“Fetch Size”
“WSTimeout”
WSRetry Count
Attribute
WSRetryCount (WSRC)
Description
The number of times the driver retries a timed-out Select request. Insert, Update, and Delete requests are never retried. The timeout period is specified by the WSTimeout connection option.
Valid Values
0 | x
where x is a positive integer.
If set to 0, the driver does not retry timed-out requests after the initial unsuccessful attempt.
If set to x, the driver retries the timed-out request the specified number of times.
Default
0
GUI Tab
Web Service tab
See Also
“WSTimeout”
WSTimeout
Attribute
WSTimeout (WST)
Description
Specifies the time, in seconds, that the driver waits for a response to a Web service request.
Valid Values
0 | x
where x is a positive integer that defines the number of seconds the driver waits for a response to a Web service request.
If set to 0, the driver waits indefinitely for a response; there is no timeout.
If set to x, the driver uses the value as the default timeout for any statement created by the connection.
If a Select request times out and WSRetry Count is set to retry timed-out requests, the driver retries the request the specified number of times.
Default
120 (seconds)
GUI Tab
Web Service tab
See Also
“WSRetry Count”