The driver supports metadata caching, which offers several key benefits:
By default, metadata caching is enabled, and metadata is refreshed 24 hours after it’s retrieved by the application.
Note
Metadata is cleared from the cache when the ODBC driver is unloaded from memory—for example, when the application using the ODBC driver is closed.
To change the metadata refresh period or turn off metadata caching, follow one of the following methods:
1. Select your DSN and click Configure.
2. Select the Advanced Settings tab.
3. In Cache Metadata, select the cache refresh interval:
4. Click OK.
You can configure the cache refresh interval using the Cache Metadata
parameter.
The possible values are:
False
- Metadata caching is disabled.Hour
- Metadata is refreshed every hour.Month
- Metadata is refreshed every 30 days.True
- Metadata is not refreshed.If the Cache Metadata
parameter is not specified, metadata caching is enabled, and metadata is refreshed every 24 hours.
Example
DRIVER=Devart ODBC Driver for Salesforce;
Data Source=https://login.salesforce.com;
User ID=your_email;
Password=your_password;
Security Token=your_security_token;
Cache Metadata=Hour