站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

JTATransactionFactory (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.transaction
Class JTATransactionFactory

java.lang.Object
  extended bynet.sf.hibernate.transaction.JTATransactionFactory
All Implemented Interfaces:
TransactionFactory

public class JTATransactionFactory
extends Object
implements TransactionFactory

Factory for JTATransaction.

Author:
Gavin King
See Also:
JTATransaction

Constructor Summary
JTATransactionFactory()
           
 
Method Summary
 Transaction beginTransaction(SessionImplementor session)
          Begin a transaction and return the associated Transaction instance.
 void configure(Properties props)
          Configure from the given properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTATransactionFactory

public JTATransactionFactory()
Method Detail

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