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
Actual Hibernate implementation of EntityManagerFactory
.
- 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(PersistenceUnitTransactionType transactionType,
boolean discardOnClose,
Class sessionInterceptorClass,
Configuration cfg,
ServiceRegistry serviceRegistry,
String persistenceUnitName)
determineJpaMetaModelPopulationSetting
protected org.hibernate.ejb.EntityManagerFactoryImpl.JpaMetaModelPopulationSetting determineJpaMetaModelPopulationSetting(Configuration cfg)
createEntityManager
public EntityManager createEntityManager()
- Specified by:
createEntityManager
in interface EntityManagerFactory
createEntityManager
public EntityManager createEntityManager(Map map)
- Specified by:
createEntityManager
in interface EntityManagerFactory
getCriteriaBuilder
public CriteriaBuilder getCriteriaBuilder()
- Specified by:
getCriteriaBuilder
in interface EntityManagerFactory
getMetamodel
public Metamodel getMetamodel()
- Specified by:
getMetamodel
in interface EntityManagerFactory
close
public void close()
- Specified by:
close
in interface EntityManagerFactory
getProperties
public Map<String,Object> getProperties()
- Specified by:
getProperties
in interface EntityManagerFactory
getCache
public Cache getCache()
- Specified by:
getCache
in interface EntityManagerFactory
getPersistenceUnitUtil
public PersistenceUnitUtil getPersistenceUnitUtil()
- Specified by:
getPersistenceUnitUtil
in interface EntityManagerFactory
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface EntityManagerFactory
getSessionFactory
public SessionFactoryImpl getSessionFactory()
- Specified by:
getSessionFactory
in interface HibernateEntityManagerFactory
getEntityManagerFactoryName
public String getEntityManagerFactoryName()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.