JBoss.orgCommunity Documentation

Chapter 5. Hints and Options

5.1. Cache Hint
5.1.1. Limitations
5.2. OPTION NOCACHE

A query cache hint can be used to:

/*+ cache[([pref_mem] [ttl:n] [updatable])] */ sql ...

Individual queries may override the use of cached results by specifying OPTION NOCACHE on the query.  0 or more fully qualified view or procedure names may be specified to exclude using their cached results.   If no names are specified, cached results will not be used transitively.



OPTION NOCACHE may be specified in procedure or view definitions.  In that way, transformations can specify to always use real-time data obtained directly from sources.