Top Description Methods
org.hibernate.engine.spi

public Interface SessionOwner

Annotations
@Deprecated
Imports
org.hibernate.resource.transaction.backend.jta.internal.synchronization.AfterCompletionAction, .ExceptionMapper, .ManagedFlushChecker

Deprecated

(since 5.2) since consolidating hibernate-entitymanager into hibernate-core I believe this is no longer needed.

The contract for a Session owner. Typically this is something that wraps the Session.
Author
Gail Badner
See Also
SessionBuilderImplementor#owner

Method Summary

Modifier and TypeMethod and Description
public AfterCompletionAction
getAfterCompletionAction()

Deprecated as a consequence of AfterCompletionAction being deprecated.
public ExceptionMapper
public ManagedFlushChecker
getManagedFlushChecker()

Deprecated as a consequence of ManagedFlushChecker being deprecated.
public boolean

Returns:

true/false appropriately.
shouldAutoCloseSession
()

Should session automatically be closed after transaction completion?

Method Detail

getAfterCompletionActionback to summary
public AfterCompletionAction getAfterCompletionAction()

Deprecated

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

getExceptionMapperback to summary
public ExceptionMapper getExceptionMapper()
getManagedFlushCheckerback to summary
public ManagedFlushChecker getManagedFlushChecker()

Deprecated

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

shouldAutoCloseSessionback to summary
public boolean shouldAutoCloseSession()

Should session automatically be closed after transaction completion?

Returns:boolean

true/false appropriately.