当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
JTATransactionFactory (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.transaction
Class JTATransactionFactory
java.lang.Object
net.sf.hibernate.transaction.JTATransactionFactory
- All Implemented Interfaces:
- TransactionFactory
- public class JTATransactionFactory
- extends Object
- implements TransactionFactory
Factory for JTATransaction.
- Author:
- Gavin King
- See Also:
JTATransaction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JTATransactionFactory
public JTATransactionFactory()
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
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