public class MassQueryCacheInvalidationEvent extends QueryEvent
MassQueryCacheInvalidationEvent indicates that a native SQL statement has triggered
a mass invalidation of the second-level query cache.
To prevent this event, you need to set the table spaces that are affected by this SQL
statement via the addSynchronizedQuerySpace, addSynchronizedEntityName or
addSynchronizedEntityClass Hibernate query methods.Event.Priority| Constructor and Description |
|---|
MassQueryCacheInvalidationEvent(String queryString)
Instantiate the event using the provided parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
|
Event.Priority |
getPriority()
Get the
Event.Priority of this Event |
getQueryStringgetInfoUrlpublic MassQueryCacheInvalidationEvent(String queryString)
queryString - query stringpublic Event.Priority getPriority()
Event.Priority of this EventEvent.Priority of this EventCopyright © 2026. All rights reserved.