org.hibernate.ejb
Class EntityManagerFactoryImpl
java.lang.Object
org.hibernate.ejb.EntityManagerFactoryImpl
- All Implemented Interfaces:
- Serializable, javax.persistence.EntityManagerFactory, HibernateEntityManagerFactory
public class EntityManagerFactoryImpl
- extends Object
- implements HibernateEntityManagerFactory
- Author:
- Gavin King, Emmanuel Bernard
- See Also:
- Serialized Form
Constructor Summary |
EntityManagerFactoryImpl(org.hibernate.SessionFactory sessionFactory,
javax.persistence.spi.PersistenceUnitTransactionType transactionType,
boolean discardOnClose,
Class sessionInterceptorClass)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityManagerFactoryImpl
public EntityManagerFactoryImpl(org.hibernate.SessionFactory sessionFactory,
javax.persistence.spi.PersistenceUnitTransactionType transactionType,
boolean discardOnClose,
Class sessionInterceptorClass)
createEntityManager
public javax.persistence.EntityManager createEntityManager()
- Specified by:
createEntityManager
in interface javax.persistence.EntityManagerFactory
createEntityManager
public javax.persistence.EntityManager createEntityManager(Map map)
- Specified by:
createEntityManager
in interface javax.persistence.EntityManagerFactory
close
public void close()
- Specified by:
close
in interface javax.persistence.EntityManagerFactory
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface javax.persistence.EntityManagerFactory
getSessionFactory
public org.hibernate.SessionFactory getSessionFactory()
- Specified by:
getSessionFactory
in interface HibernateEntityManagerFactory