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