Query setCacheStoreMode(
CacheStoreMode cacheStoreMode
)
Set the cache storage mode that is in effect during query execution. This cache storage mode overrides the cache storage mode in use by the entity manager.
- Parameters:
cacheStoreMode- cache storage mode
- Return:
- the same query instance
- Since:
- JPA 3.2