You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jorge Reyes edited this page May 29, 2015
·
2 revisions
Evict all queries in the default cache or the cache region that is passed in.
###Returns
This function returns void
###Arguments
Key
Type
Required
Default
Description
cacheName
string
No
---
datasource
string
No
---
The datasource to use
###Examples
// evict queries that are in the default hibernate cacheormService.evictQueries();// evict queries for this serviceormService.evictQueries(ormService.getQueryCacheRegion());// evict queries for my artistsormService.evictQueries("MyArtits");