Package org.hibernate.engine.spi
Interface SessionOwner
-
@Deprecated public interface SessionOwner
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description org.hibernate.resource.transaction.backend.jta.internal.synchronization.AfterCompletionAction
getAfterCompletionAction()
Deprecated.org.hibernate.resource.transaction.backend.jta.internal.synchronization.ExceptionMapper
getExceptionMapper()
Deprecated.org.hibernate.resource.transaction.backend.jta.internal.synchronization.ManagedFlushChecker
getManagedFlushChecker()
Deprecated.boolean
shouldAutoCloseSession()
Deprecated.Should session automatically be closed after transaction completion?
-
-
-
Method Detail
-
shouldAutoCloseSession
boolean shouldAutoCloseSession()
Deprecated.Should session automatically be closed after transaction completion?- Returns:
- true/false appropriately.
-
getExceptionMapper
org.hibernate.resource.transaction.backend.jta.internal.synchronization.ExceptionMapper getExceptionMapper()
Deprecated.
-
getAfterCompletionAction
org.hibernate.resource.transaction.backend.jta.internal.synchronization.AfterCompletionAction getAfterCompletionAction()
Deprecated.
-
getManagedFlushChecker
org.hibernate.resource.transaction.backend.jta.internal.synchronization.ManagedFlushChecker getManagedFlushChecker()
Deprecated.
-
-