org.hibernate.ejb
Class EntityManagerFactoryImpl
java.lang.Object
org.hibernate.ejb.EntityManagerFactoryImpl
- All Implemented Interfaces:
- Serializable, EntityManagerFactory, HibernateEntityManagerFactory
public class EntityManagerFactoryImpl
- extends Object
- implements HibernateEntityManagerFactory
- Author:
- Gavin King, Emmanuel Bernard
- See Also:
- Serialized Form
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,
PersistenceUnitTransactionType transactionType,
boolean discardOnClose,
Class sessionInterceptorClass)
createEntityManager
public EntityManager createEntityManager()
- Specified by:
createEntityManager
in interface EntityManagerFactory
createEntityManager
public EntityManager createEntityManager(Map map)
- Specified by:
createEntityManager
in interface EntityManagerFactory
close
public void close()
- Specified by:
close
in interface EntityManagerFactory
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface EntityManagerFactory
getSessionFactory
public org.hibernate.SessionFactory getSessionFactory()
- Specified by:
getSessionFactory
in interface HibernateEntityManagerFactory
Copyright © 2011. All Rights Reserved.