public interface HibernateEntityManagerFactory
extends javax.persistence.EntityManagerFactory, java.io.Serializable
SessionFactory from an EntityManagerFactory| Modifier and Type | Method and Description |
|---|---|
<T> java.util.List<javax.persistence.EntityGraph<? super T>> |
findEntityGraphsByType(java.lang.Class<T> entityClass)
Find all
EntityGraphs associated with a given entity type. |
java.lang.String |
getEntityManagerFactoryName()
Returns the name of the factory.
|
javax.persistence.metamodel.EntityType |
getEntityTypeByName(java.lang.String entityName)
Find an entity type by name
|
SessionFactoryImplementor |
getSessionFactory()
Obtain the underlying Hibernate SessionFactory.
|
SessionFactoryImplementor getSessionFactory()
<T> java.util.List<javax.persistence.EntityGraph<? super T>> findEntityGraphsByType(java.lang.Class<T> entityClass)
EntityGraphs associated with a given entity type.entityClass - the entity type for which to find all EntityGraphs.EntityGraph instances associated with the given entity type. The empty list is
returned in case there are not entity graphs.java.lang.String getEntityManagerFactoryName()
javax.persistence.metamodel.EntityType getEntityTypeByName(java.lang.String entityName)
entityName - entity nameEntityType for the specified nameCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.