org.hibernate.ejb
Class CurrentEntityManagerImpl

java.lang.Object
  extended by org.hibernate.ejb.AbstractEntityManagerImpl
      extended by org.hibernate.ejb.CurrentEntityManagerImpl
All Implemented Interfaces:
Serializable, javax.persistence.EntityManager, HibernateEntityManager, HibernateEntityManagerImplementor

public class CurrentEntityManagerImpl
extends AbstractEntityManagerImpl

Author:
Gavin King
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hibernate.ejb.AbstractEntityManagerImpl
persistenceContextType, tx
 
Constructor Summary
CurrentEntityManagerImpl(org.hibernate.SessionFactory sessionFactory, javax.persistence.spi.PersistenceUnitTransactionType transactionType)
           
 
Method Summary
 void close()
           
 org.hibernate.Session getSession()
           
 boolean isOpen()
           
 
Methods inherited from class org.hibernate.ejb.AbstractEntityManagerImpl
adjustFlushMode, clear, contains, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, find, flush, getFlushMode, getReference, getTransaction, isTransactionInProgress, lock, merge, persist, refresh, remove, setFlushMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentEntityManagerImpl

public CurrentEntityManagerImpl(org.hibernate.SessionFactory sessionFactory,
                                javax.persistence.spi.PersistenceUnitTransactionType transactionType)
Method Detail

getSession

public org.hibernate.Session getSession()
Specified by:
getSession in interface HibernateEntityManager
Specified by:
getSession in class AbstractEntityManagerImpl

close

public void close()

isOpen

public boolean isOpen()