接口 ManagedFlushChecker

  • 所有超级接口:
    Serializable
    所有已知实现类:
    ManagedFlushCheckerLegacyJpaImpl

    @Deprecated
    public interface ManagedFlushChecker
    extends Serializable
    已过时。
    (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.
    作者:
    Steve Ebersole
    • 方法详细资料

      • shouldDoManagedFlush

        boolean shouldDoManagedFlush​(SessionImplementor session)
        已过时。
        Check whether we should perform the managed flush
        参数:
        session - The Session
        返回:
        True to indicate to perform the managed flush; false otherwise.