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

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


net.sf.hibernate.transaction
Class JDBCTransactionFactory

java.lang.Object
  extended bynet.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

Constructor Summary
JDBCTransactionFactory()
           
 
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

JDBCTransactionFactory

public JDBCTransactionFactory()
Method Detail

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