Interface HibernateEntityManagerFactory

    • Method Detail

      • getSessionFactory

        @Deprecated
        default SessionFactoryImplementor getSessionFactory()
        Deprecated.
        The expectation is that SessionFactory implementors also implement EntityManagerFactory; so this call really should just return this
        Obtain the underlying Hibernate SessionFactory.
        Returns:
        The underlying Hibernate SessionFactory
      • findEntityGraphsByType

        <T> List<EntityGraph<? super T>> findEntityGraphsByType​(Class<T> entityClass)
        Deprecated.
        Find all EntityGraphs associated with a given entity type.
        Parameters:
        entityClass - the entity type for which to find all EntityGraphs.
        Returns:
        A list of EntityGraph instances associated with the given entity type. The empty list is returned in case there are not entity graphs.
      • getEntityTypeByName

        @Deprecated
        default EntityType getEntityTypeByName​(String entityName)
        Deprecated.
        Use org.hibernate.MetamodelImplementor#getEntityTypeByName instead.
        Find an entity type by name
        Parameters:
        entityName - entity name
        Returns:
        the EntityType for the specified name