This section contains extra information relating to the deployment of the Easysoft ODBC-Salesforce Driver.
The Easysoft ODBC-Salesforce Driver complies with the ODBC 3.81 specification.
The Easysoft ODBC-Salesforce Driver is a Unicode ODBC driver and supports the Unicode ODBC APIs and data types.
The Easysoft ODBC-Salesforce Driver does not support Unicode strings in SQL statements.
To work with Unicode data, use parameterised SQL and bind the statement parameters as Unicode data types. If your application calls SQLGetData, request that the data be returned as a Unicode data type.
The ODBC calls an application makes can be traced:
An application can turn tracing on in the Driver Manager by using the ODBC API SQLSetConnectAttr (...,SQL_ATTR_TRACE,...).
The trace file name may also be specified with the SQLSetConnectAttr attribute SQL_ATTR_TRACEFILE.
For the unixODBC Driver Manager, add two attributes to the [ODBC] section (create one if none exists) in odbcinst.ini.
Ensure that the user who is running the application to be traced has write permission to the log file (and to the directory containing it), or no tracing information will be produced.
Click on Tracing, ensure the specified filename is valid and click Start Tracing Now.
Driver manager trace files show all the ODBC calls applications make, their arguments and return values. Easysoft ODBC-Salesforce Driver driver tracing is specific to the Easysoft driver and is of most use when making a support call.
To enable Easysoft ODBC-Salesforce Driver logging, add a LOGFILE and a LOGGING attribute to the relevant DSN section of the odbc.ini file.
LOGFILE = /tmp/salesforce-driver.log
The LOGFILE value is the path and file name of the log file. The value shown in the example specifies a log file named /tmp/salesforce.log. The LOGGING value specifies the actions to log. The value shown in the example specifies that all actions should be logged.
Ensure that the user who is running the application to be traced has write permission to the log file (and to the directory containing it).
1. Open the relevant Easysoft ODBC-Salesforce Driver data source in ODBC Data Source Administrator.
3. Type the file name and path of the file you want the driver to write log information to in the space provided.