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 Hiberate implementation of EntityManagerFactory
.
- Author:
- Gavin King, Emmanuel Bernard, Steve Ebersole
- 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(SessionFactory sessionFactory,
PersistenceUnitTransactionType transactionType,
boolean discardOnClose,
Class<?> sessionInterceptorClass,
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 javax.persistence.criteria.CriteriaBuilder getCriteriaBuilder()
- Specified by:
getCriteriaBuilder
in interface EntityManagerFactory
getMetamodel
public javax.persistence.metamodel.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 SessionFactory getSessionFactory()
- Specified by:
getSessionFactory
in interface HibernateEntityManagerFactory
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.