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
public class AutoFlushEvent extends FlushEvent
Defines an event class for the auto-flushing of a session.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AutoFlushEvent(Set<String> querySpaces, boolean skipPreFlush, EventSource source)
AutoFlushEvent(Set<String> querySpaces, EventSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getQuerySpaces()
boolean
isFlushRequired()
boolean
isSkipPreFlush()
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 Detail
-
AutoFlushEvent
public AutoFlushEvent(Set<String> querySpaces, EventSource source)
-
AutoFlushEvent
public AutoFlushEvent(Set<String> querySpaces, boolean skipPreFlush, EventSource source)
-
-