This chapter lists the new or updated features associated with DODS .
- Added new parameters for cache initialitzation:
synchLoadRowCountLimit - max number of rows in the table for which the synchronous cache load is performed if defined by configuration. If the number of rows is greater, the table's cache will be loaded asynchronous and this number will be taken for the asynchLoadPriority. The default value is 0 and means that asynch cache load is not performed if configuration parameters for asynch cache load are not defined.
maxExecuteTimeCacheInit - max time for which the query is not printed in application's log file durung the cache initialization. If the time is greater, query (SQL statement, execution time and maxExecutionTime) is printed. Value 0 means that nothing is printed.
queryTimeoutCacheInit - max number of seconds for which the query for cache initialization should be executed. If the limit is exceeded, an exception is thrown. Value 0 means that there is no limit.
queryTimeLimitCacheInit - max number of milliseconds for which the query for cache initialization should be executed and the resulset read from ResultSet. If the limit is exceeded, an Exception is thrown. Value 0 means that there is no limit.
- Added new parameter simpleCacheRowCountLimit - max number of rows in the table for which simple cache is still used. If the table has more rows than defined by this parameter, complex cache is used for simple queries. The default value is 0 (simple cache is used for all simple queries).
- Added new method in the com.lutris.appserver.server.sql.StandardDatabaseManager class:
public void asynchInitCaches(int threadNum)
for postponed cache initialization.
- Added patches in query cache mechanism for queries with database limit. Query results that contained less results than databaseLimit were retrieved from the database instead from the cache. Now, they are retrieved from the cache.
- Apache Ant upgraded to version 1.6.5, consequently some scripts are updated too.
- JTA example switched to use LocalContextFactory.