Interface ManagedFlushChecker

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    ManagedFlushCheckerLegacyJpaImpl

    @Deprecated
    public interface ManagedFlushChecker
    extends Serializable
    Deprecated.
    (since 5.2) no longer needed since integrating HEM into hibernate-core.
    A pluggable strategy for defining how the Synchronization registered by Hibernate determines whether to perform a managed flush. An exceptions from either this delegate or the subsequent flush are routed through the sister strategy ExceptionMapper.
    • Method Detail

      • shouldDoManagedFlush

        boolean shouldDoManagedFlush​(SessionImplementor session)
        Deprecated.
        Check whether we should perform the managed flush
        Parameters:
        session - The Session
        Returns:
        True to indicate to perform the managed flush; false otherwise.