当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
JDBCContext.Context (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.jdbc
Interface JDBCContext.Context
- All Superinterfaces:
- TransactionFactory.Context
- All Known Implementing Classes:
- SessionImpl, StatelessSessionImpl
- Enclosing interface:
- JDBCContext
- public static interface JDBCContext.Context
- extends TransactionFactory.Context
afterTransactionBegin
public void afterTransactionBegin(Transaction tx)
- We cannot rely upon this method being called! It is only
called if we are using Hibernate Transaction API.
beforeTransactionCompletion
public void beforeTransactionCompletion(Transaction tx)
afterTransactionCompletion
public void afterTransactionCompletion(boolean success,
Transaction tx)
getConnectionReleaseMode
public ConnectionReleaseMode getConnectionReleaseMode()
isAutoCloseSessionEnabled
public boolean isAutoCloseSessionEnabled()