Package org.hibernate.jdbc
Interface JDBCContext.Context
- All Superinterfaces:
TransactionFactory.Context
- All Known Implementing Classes:
SessionImpl,StatelessSessionImpl
- Enclosing class:
JDBCContext
-
Method Summary
Modifier and TypeMethodDescriptionvoidWe cannot rely upon this method being called! It is only called if we are using Hibernate Transaction API.voidafterTransactionCompletion(boolean success, Transaction tx) voidbooleanMethods inherited from interface org.hibernate.transaction.TransactionFactory.Context
getFactory, isClosed, isFlushBeforeCompletionEnabled, isFlushModeNever, managedClose, managedFlush, shouldAutoClose
-
Method Details
-
afterTransactionBegin
We cannot rely upon this method being called! It is only called if we are using Hibernate Transaction API. -
beforeTransactionCompletion
-
afterTransactionCompletion
-
getConnectionReleaseMode
ConnectionReleaseMode getConnectionReleaseMode() -
isAutoCloseSessionEnabled
boolean isAutoCloseSessionEnabled()
-