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.
getFactory
SessionFactoryImplementor getFactory()
isClosed
boolean isClosed()
isFlushModeNever
boolean isFlushModeNever()
isFlushBeforeCompletionEnabled
boolean isFlushBeforeCompletionEnabled()
managedFlush
void managedFlush()
shouldAutoClose
boolean shouldAutoClose()
managedClose
void managedClose()
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.