Package org.hibernate.transaction
Interface TransactionFactory.Context
- All Known Subinterfaces:
JDBCContext.Context
- All Known Implementing Classes:
SessionImpl,StatelessSessionImpl
- Enclosing interface:
TransactionFactory
public static interface TransactionFactory.Context
Callback mechanism; a context is always a
Session
in the Hibernate usage.-
Method Summary
-
Method Details
-
getFactory
SessionFactoryImplementor getFactory() -
isClosed
boolean isClosed() -
isFlushModeNever
boolean isFlushModeNever() -
isFlushBeforeCompletionEnabled
boolean isFlushBeforeCompletionEnabled() -
managedFlush
void managedFlush() -
shouldAutoClose
boolean shouldAutoClose() -
managedClose
void managedClose()
-