Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 711 Bytes

File metadata and controls

25 lines (18 loc) · 711 Bytes

evictQueries

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 cache
ormService.evictQueries();
// evict queries for this service
ormService.evictQueries( ormService.getQueryCacheRegion() );
// evict queries for my artists
ormService.evictQueries( "MyArtits" );