Uses of Interface
jakarta.persistence.EntityGraph
Packages that use EntityGraph
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
This package defines the central Hibernate APIs, beginning with
SessionFactory, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session and StatelessSession,
the most important APIs exposing persistence-related operations for
entities.This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
Implements and extends the JPA-defined entity graph API.
This package defines an internal SPI abstracting over implementations
of the APIs defined in
org.hibernate.graph.An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate.Everything related to HQL/JPQL, native SQL, and criteria queries.
Contains a range of internal abstractions for dealing with query execution,
query plans, query options, and query parameters.
Package for the SQM-backed Query implementation details
SPI-level SQM contracts
-
Uses of EntityGraph in jakarta.persistence
Methods in jakarta.persistence that return EntityGraphModifier and TypeMethodDescription<T> EntityGraph<T>EntityManager.createEntityGraph(Class<T> rootType) Return a mutable EntityGraph that can be used to dynamically create an EntityGraph.EntityGraph<?>EntityManager.createEntityGraph(String graphName) Return a mutable copy of the named EntityGraph.EntityGraph<?>EntityManager.getEntityGraph(String graphName) Return a named EntityGraph.Methods in jakarta.persistence that return types with arguments of type EntityGraphModifier and TypeMethodDescription<T> List<EntityGraph<? super T>>EntityManager.getEntityGraphs(Class<T> entityClass) Return all named EntityGraphs that have been defined for the provided class type.Methods in jakarta.persistence with parameters of type EntityGraphModifier and TypeMethodDescription<T> voidEntityManagerFactory.addNamedEntityGraph(String graphName, EntityGraph<T> entityGraph) Add a named copy of the EntityGraph to the EntityManagerFactory. -
Uses of EntityGraph in org.hibernate
Methods in org.hibernate that return types with arguments of type EntityGraphModifier and TypeMethodDescription<T> List<EntityGraph<? super T>>SessionFactory.findEntityGraphsByType(Class<T> entityClass) Return allEntityGraphs registered for the given entity type.<T> List<EntityGraph<? super T>>Session.getEntityGraphs(Class<T> entityClass) <T> List<EntityGraph<? super T>>SharedSessionContract.getEntityGraphs(Class<T> entityClass) Retrieve all namedEntityGraphs with the given type.Methods in org.hibernate with parameters of type EntityGraphModifier and TypeMethodDescription<T> TStatelessSession.get(EntityGraph<T> graph, GraphSemantic graphSemantic, Object id) Retrieve a record, fetching associations specified by the givenEntityGraph.<T> TStatelessSession.get(EntityGraph<T> graph, GraphSemantic graphSemantic, Object id, LockMode lockMode) Retrieve a record, fetching associations specified by the givenEntityGraph, and obtaining the specified lock mode. -
Uses of EntityGraph in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return types with arguments of type EntityGraphModifier and TypeMethodDescription<T> List<EntityGraph<? super T>>SessionFactoryDelegatingImpl.findEntityGraphsByType(Class<T> entityClass) <T> List<EntityGraph<? super T>>SessionDelegatorBaseImpl.getEntityGraphs(Class<T> entityClass) <T> List<EntityGraph<? super T>>SessionLazyDelegator.getEntityGraphs(Class<T> entityClass) <T> List<EntityGraph<? super T>>SharedSessionDelegatorBaseImpl.getEntityGraphs(Class<T> entityClass) Methods in org.hibernate.engine.spi with parameters of type EntityGraphModifier and TypeMethodDescription<T> voidSessionFactoryDelegatingImpl.addNamedEntityGraph(String graphName, EntityGraph<T> entityGraph) -
Uses of EntityGraph in org.hibernate.graph
Subinterfaces of EntityGraph in org.hibernate.graphModifier and TypeInterfaceDescriptioninterfaceRootGraph<J>Extends the JPA-definedEntityGraphwith additional operations.Methods in org.hibernate.graph that return EntityGraphModifier and TypeMethodDescriptionstatic <T> EntityGraph<T>EntityGraphs.merge(EntityManager em, Class<T> rootType, EntityGraph<T>... graphs) Merges multiple entity graphs into a single graph that specifies the fetching/loading of all attributes the input graphs specify.static <T> EntityGraph<T>EntityGraphs.merge(SessionImplementor session, Class<T> rootType, GraphImplementor<T>... graphs) static <T> EntityGraph<T>Methods in org.hibernate.graph with parameters of type EntityGraphModifier and TypeMethodDescriptionstatic <T> booleanEntityGraphs.areEqual(EntityGraph<T> a, EntityGraph<T> b) Compares two entity graphs and returnstrueif they are equal, ignoring attribute order.static ListEntityGraphs.executeList(Query query, EntityGraph graph) Convenience method for executing the query using the givenEntityGraph.static ListEntityGraphs.executeList(Query query, EntityGraph graph, String semanticJpaHintName) Convenience method for executing the query, applying the givenEntityGraphusing the named semantic using JPA's "hint name".static ListEntityGraphs.executeList(Query query, EntityGraph graph, GraphSemantic semantic) Convenience method for executing the query, applying the givenEntityGraphusing the specified semanticstatic <R> List<R>EntityGraphs.executeList(TypedQuery<R> query, EntityGraph<R> graph) Form ofEntityGraphs.executeList(Query, EntityGraph, String)accepting aTypedQuery.static <R> List<R>EntityGraphs.executeList(TypedQuery<R> query, EntityGraph<R> graph, String semanticJpaHintName) Form ofEntityGraphs.executeList(Query, EntityGraph, String)accepting aTypedQuery.static <R> List<R>EntityGraphs.executeList(TypedQuery<R> query, EntityGraph<R> graph, GraphSemantic semantic) Form ofEntityGraphs.executeList(Query, EntityGraph, GraphSemantic)accepting aTypedQuery.static <T> EntityGraph<T>EntityGraphs.merge(EntityManager em, Class<T> rootType, EntityGraph<T>... graphs) Merges multiple entity graphs into a single graph that specifies the fetching/loading of all attributes the input graphs specify.static <T> voidGraphParser.parseInto(EntityGraph<T> graph, CharSequence graphText, EntityManager entityManager) Parses the textual graph representation into the specified graph.static <T> voidGraphParser.parseInto(EntityGraph<T> graph, CharSequence graphText, EntityManagerFactory entityManagerFactory) Parses the textual graph representation into the specified graph. -
Uses of EntityGraph in org.hibernate.graph.internal
Classes in org.hibernate.graph.internal that implement EntityGraph -
Uses of EntityGraph in org.hibernate.graph.spi
Subinterfaces of EntityGraph in org.hibernate.graph.spi -
Uses of EntityGraph in org.hibernate.internal
Methods in org.hibernate.internal that return types with arguments of type EntityGraphModifier and TypeMethodDescription<T> List<EntityGraph<? super T>>SessionFactoryImpl.findEntityGraphsByType(Class<T> entityClass) <T> List<EntityGraph<? super T>>AbstractSharedSessionContract.getEntityGraphs(Class<T> entityClass) Methods in org.hibernate.internal with parameters of type EntityGraphModifier and TypeMethodDescription<T> voidSessionFactoryImpl.addNamedEntityGraph(String graphName, EntityGraph<T> entityGraph) <T> TStatelessSessionImpl.get(EntityGraph<T> graph, GraphSemantic graphSemantic, Object id) <T> TStatelessSessionImpl.get(EntityGraph<T> graph, GraphSemantic graphSemantic, Object id, LockMode lockMode) -
Uses of EntityGraph in org.hibernate.query
Methods in org.hibernate.query with parameters of type EntityGraphModifier and TypeMethodDescriptionQuery.setEntityGraph(EntityGraph<R> graph, GraphSemantic semantic) SelectionQuery.setEntityGraph(EntityGraph<R> graph, GraphSemantic semantic) Apply anEntityGraphto the query. -
Uses of EntityGraph in org.hibernate.query.spi
Methods in org.hibernate.query.spi with parameters of type EntityGraphModifier and TypeMethodDescriptionAbstractQuery.setEntityGraph(EntityGraph<R> graph, GraphSemantic semantic) AbstractSelectionQuery.setEntityGraph(EntityGraph<R> graph, GraphSemantic semantic) -
Uses of EntityGraph in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal with parameters of type EntityGraphModifier and TypeMethodDescriptionQuerySqmImpl.setEntityGraph(EntityGraph<R> graph, GraphSemantic semantic) -
Uses of EntityGraph in org.hibernate.query.sqm.spi
Methods in org.hibernate.query.sqm.spi with parameters of type EntityGraphModifier and TypeMethodDescriptionDelegatingSqmSelectionQueryImplementor.setEntityGraph(EntityGraph<R> graph, GraphSemantic semantic) -
Uses of EntityGraph in org.hibernate.search.mapper.orm.loading.impl
Methods in org.hibernate.search.mapper.orm.loading.impl with parameters of type EntityGraphModifier and TypeMethodDescriptionHibernateOrmSelectionLoadingContext.Builder.graph(EntityGraph<?> graph, GraphSemantic semantic) -
Uses of EntityGraph in org.hibernate.search.mapper.orm.search.loading.dsl
Methods in org.hibernate.search.mapper.orm.search.loading.dsl with parameters of type EntityGraphModifier and TypeMethodDescriptionSearchLoadingOptionsStep.graph(EntityGraph<?> graph, GraphSemantic semantic) Customize fetching/loading of entity attributes and associations according to the given entity graph, with the given semantic.