@Deprecated
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)
Deprecated.
Find all
EntityGraphs associated with a given entity type. |
default javax.persistence.metamodel.EntityType |
getEntityTypeByName(java.lang.String entityName)
Deprecated.
Use org.hibernate.MetamodelImplementor#getEntityTypeByName instead.
|
Metamodel |
getMetamodel()
Deprecated.
|
default SessionFactoryImplementor |
getSessionFactory()
Deprecated.
The expectation is that SessionFactory implementors also implement EntityManagerFactory; so this call
really should just return
this |
@Deprecated default SessionFactoryImplementor getSessionFactory()
this<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.Metamodel getMetamodel()
getMetamodel in interface javax.persistence.EntityManagerFactory@Deprecated default javax.persistence.metamodel.EntityType getEntityTypeByName(java.lang.String entityName)
entityName - entity nameEntityType for the specified nameCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.