Top Description Methods
org.hibernate.resource.transaction.backend.jta.internal.synchronization

public Interface ManagedFlushChecker

extends Serializable
Known Direct Implementers
org.hibernate.jpa.internal.ManagedFlushCheckerLegacyJpaImpl
Annotations
@Deprecated
Imports
java.io.Serializable, org.hibernate.engine.spi.SessionImplementor

Deprecated

(since 5.2) no longer needed since integrating HEM into hibernate-core.

A pluggable strategy for defining how the javax.transaction.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.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

True to indicate to perform the managed flush; false otherwise.
shouldDoManagedFlush
(SessionImplementor
The Session
session
)

Deprecated as a consequence of SessionImplementor being deprecated.
Check whether we should perform the managed flush

Method Detail

shouldDoManagedFlushback to summary
public boolean shouldDoManagedFlush(SessionImplementor session)

Deprecated

as a consequence of SessionImplementor being deprecated. See corresponding docs for further information.

Check whether we should perform the managed flush

Parameters
session:SessionImplementor

The Session

Returns:boolean

True to indicate to perform the managed flush; false otherwise.