evictQueries

Evict all queries in the default cache or the cache region that is passed in.

Returns

  • This function returns void

Arguments

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" );

Last updated