org.hibernate.transaction

Interface TransactionFactory.Context

Known Subinterfaces:
JDBCContext.Context
Known Implementing Classes:
SessionImpl, StatelessSessionImpl

public static interface TransactionFactory.Context

Callback mechanism; a context is always a Session in the Hibernate usage.

Method Summary

SessionFactoryImplementor
getFactory()
boolean
isClosed()
boolean
isFlushBeforeCompletionEnabled()
boolean
isFlushModeNever()
void
managedClose()
void
managedFlush()
boolean
shouldAutoClose()

Method Details

getFactory

public SessionFactoryImplementor getFactory()

isClosed

public boolean isClosed()

isFlushBeforeCompletionEnabled

public boolean isFlushBeforeCompletionEnabled()

isFlushModeNever

public boolean isFlushModeNever()

managedClose

public void managedClose()

managedFlush

public void managedFlush()

shouldAutoClose

public boolean shouldAutoClose()