evictQueries
Last updated
Was this helpful?
Evict all queries in the default cache or the cache region that is passed in.
This function returns void
Key
Type
Required
Default
Description
cacheName
string
No
---
datasource
string
No
---
The datasource to use
// evict queries that are in the default hibernate cache
ormService.evictQueries();
// evict queries for this service
ormService.evictQueries( ormService.getQueryCacheRegion() );
// evict queries for my artists
ormService.evictQueries( "MyArtits" );Last updated
Was this helpful?
Was this helpful?