- Negative values for cache are not allowed.
- If you do not include the cache element, then your retrieve statements are not configured for caching. Results will be retrieved from the database every time the query runs.
If the results of a query are empty, the Database Connector returns an empty HTTP response. This is because the attribute emptyStringForEmptyResultSet="true" is configured by default. You may notice the error message below in the debug console when testing your forms if no rows are returned by a query.
You define the scripts that will work with your database in the configuration file. For example, the sample configuration file defines a query called customers. That query assumes that a table such as the one below exists in your Data Source.