org.perfectjpattern.jee.integration.dao
Class HibernateConfiguredTransactionStrategy
java.lang.Object
org.perfectjpattern.jee.integration.dao.HibernateConfiguredTransactionStrategy
- All Implemented Interfaces:
- IStrategy, ITransactionStrategy
public final class HibernateConfiguredTransactionStrategy
- extends Object
- implements ITransactionStrategy
Concrete simple implementation of ITransactionStrategy
corresponding
to Session.getTransaction()
This strategy is mandated by the Hibernate configuration value specified in
property hibernate.transaction_factory
. If not specified, the
default value is JDBCTransactionFactory
.
Concrete simple implementation of ITransactionStrategy
targeting
the JSE environment
- Version:
- $Revision: 1.0 $Date: Feb 8, 2009 5:30:47 PM $
- Author:
- Giovanni Azua
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateConfiguredTransactionStrategy
public HibernateConfiguredTransactionStrategy(ISessionStrategy aSessionStrategy)
getTransaction
public ITransaction getTransaction()
- Returns the adapted JPA implementation-specific
Transaction
- Specified by:
getTransaction
in interface ITransactionStrategy
- Returns:
- adapted JPA implementation-specific
Transaction
Copyright © 2007-2009. All Rights Reserved.