|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An abstract factory for Transaction instances. Concrete implementations
are specified by hibernate.transaction.factory_class.
Implementors must be threadsafe and should declare a public default constructor.
Transaction| Nested Class Summary | |
static interface |
TransactionFactory.Context
|
| Method Summary | |
Transaction |
beginTransaction(JDBCContext jdbcContext,
TransactionFactory.Context context)
Begin a transaction and return the associated Transaction instance. |
void |
configure(Properties props)
Configure from the given properties. |
ConnectionReleaseMode |
getDefaultReleaseMode()
Get the default connection release mode |
| Method Detail |
public Transaction beginTransaction(JDBCContext jdbcContext,
TransactionFactory.Context context)
throws HibernateException
jdbcContext - The jdbc context to which the transaction belongscontext - The contract regarding the context in which this transaction will operate.
HibernateException
public void configure(Properties props)
throws HibernateException
props -
HibernateExceptionpublic ConnectionReleaseMode getDefaultReleaseMode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||