Package org.hibernate.jpa.internal
Class ManagedFlushCheckerLegacyJpaImpl
- java.lang.Object
-
- org.hibernate.jpa.internal.ManagedFlushCheckerLegacyJpaImpl
-
- All Implemented Interfaces:
Serializable
,ManagedFlushChecker
public class ManagedFlushCheckerLegacyJpaImpl extends Object implements ManagedFlushChecker
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ManagedFlushCheckerLegacyJpaImpl
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description ManagedFlushCheckerLegacyJpaImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldDoManagedFlush(SessionImplementor session)
Check whether we should perform the managed flush
-
-
-
Field Detail
-
INSTANCE
public static final ManagedFlushCheckerLegacyJpaImpl INSTANCE
Singleton access
-
-
Method Detail
-
shouldDoManagedFlush
public boolean shouldDoManagedFlush(SessionImplementor session)
Description copied from interface:ManagedFlushChecker
Check whether we should perform the managed flush- Specified by:
shouldDoManagedFlush
in interfaceManagedFlushChecker
- Parameters:
session
- The Session- Returns:
- True to indicate to perform the managed flush; false otherwise.
-
-