public class RedundantSessionFlushEvent extends SessionEvent
RedundantSessionFlushEvent indicates that the current Persistence Context (EntityManager or Session)
has been flushed without triggering any entity modification.
If a read-write transaction doesn't change any entity, then you could switch to using a read-only Session that doesn't need to pay the overhead of flushing entities.
Event.Priority| Constructor and Description |
|---|
RedundantSessionFlushEvent() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
|
Event.Priority |
getPriority()
Get the
Event.Priority of this Event |
getInfoUrlpublic Event.Priority getPriority()
Event.Priority of this EventEvent.Priority of this EventCopyright © 2026. All rights reserved.