当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
JDBCTransactionFactory (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.transaction
Class JDBCTransactionFactory
java.lang.Object
net.sf.hibernate.transaction.JDBCTransactionFactory
- All Implemented Interfaces:
- TransactionFactory
- public final class JDBCTransactionFactory
- extends Object
- implements TransactionFactory
Factory for JDBCTransaction.
- Author:
- Anton van Straaten
- See Also:
JDBCTransaction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCTransactionFactory
public JDBCTransactionFactory()
beginTransaction
public Transaction beginTransaction(SessionImplementor session)
throws HibernateException
- Description copied from interface:
TransactionFactory
- Begin a transaction and return the associated Transaction instance.
- Specified by:
beginTransaction
in interface TransactionFactory
- Parameters:
session
- the session
- Returns:
- Transaction
- Throws:
HibernateException
configure
public void configure(Properties props)
throws HibernateException
- Description copied from interface:
TransactionFactory
- Configure from the given properties.
- Specified by:
configure
in interface TransactionFactory
- Parameters:
props
-
- Throws:
HibernateException