This method will instruct the query to cache the results returned by its next execution. All subsequent executions of this query will return this cached result set even if new query parameters are specified. This method provides a performance enhancement for queries known to always return the same result set. Oracle recommends that you use this method only for such queries.
To disable this behavior, call {@link #doNotCacheQueryResults} or{@link #setQueryResultsCachePolicy} passing in null.
|
|