Package org.hibernate.event.spi
Class AutoFlushEvent
java.lang.Object
org.hibernate.event.spi.AbstractEvent
org.hibernate.event.spi.FlushEvent
org.hibernate.event.spi.AutoFlushEvent
- All Implemented Interfaces:
Serializable
Defines an event class for the auto-flushing of a session.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAutoFlushEvent
(Set<String> querySpaces, boolean skipPreFlush, EventSource source) AutoFlushEvent
(Set<String> querySpaces, EventSource source) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setFlushRequired
(boolean dirty) void
setQuerySpaces
(Set querySpaces) Methods inherited from class org.hibernate.event.spi.FlushEvent
getNumberOfCollectionsProcessed, getNumberOfEntitiesProcessed, setNumberOfCollectionsProcessed, setNumberOfEntitiesProcessed
Methods inherited from class org.hibernate.event.spi.AbstractEvent
getFactory, getSession
-
Constructor Details
-
AutoFlushEvent
-
AutoFlushEvent
-
-
Method Details
-
getQuerySpaces
-
setQuerySpaces
-
isFlushRequired
public boolean isFlushRequired() -
setFlushRequired
public void setFlushRequired(boolean dirty) -
isSkipPreFlush
public boolean isSkipPreFlush()
-