ObjectDB ObjectDB

setIgnoreCache(ignoreCache) - JDO Query's method

Method
javax.jdo.Query
void setIgnoreCache(
  boolean ignoreCache
)

Set the ignoreCache option. The default value for this option was set by the PersistenceManagerFactory or the PersistenceManager used to create this Query. The ignoreCache option setting specifies whether the query should execute entirely in the back end, instead of in the cache. If this flag is set to true, an implementation might be able to optimize the query execution by ignoring changed values in the cache. For optimistic transactions, this can dramatically improve query response times.
Parameters:
ignoreCache - the setting of the ignoreCache option.
Since:
JDO 1.0