Uses of Interface
org.hibernate.graph.RootGraph
Packages that use RootGraph
Package
Description
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
.This package defines an API for accessing the runtime metamodel describing persistent
entities in Java and their mappings to the relational database schema.
Defines the runtime domain metamodel, which describes the Java aspect of
the application's domain model parts (entities, attributes).
Implementation of the SPI for the runtime domain metamodel.
Defines the internal implementation of the stored procedure SPI.
Everything related to HQL/JPQL, native SQL, and criteria queries.
SPIs for HQL support.
Implementation of the SPIs for native SQL query support.
Package for the SQM-backed Query implementation details
-
Uses of RootGraph in org.hibernate
Methods in org.hibernate that return RootGraphModifier and TypeMethodDescription<T> RootGraph<T>
Session.createEntityGraph
(Class<T> rootType) Create a new mutable instance ofEntityGraph
, with only a root node, allowing programmatic definition of the graph from scratch.RootGraph<?>
Session.createEntityGraph
(String graphName) Create a new mutable instance ofEntityGraph
, based on a predefined named entity graph, allowing customization of the graph, or returnnull
if there is no predefined graph with the given name.default <T> RootGraph<T>
SessionFactory.createEntityGraph
(Class<T> entityType) Create anEntityGraph
for the given entity type.<T> RootGraph<T>
SharedSessionContract.createEntityGraph
(Class<T> rootType) Create a new mutable instance ofEntityGraph
, with only a root node, allowing programmatic definition of the graph from scratch.<T> RootGraph<T>
SharedSessionContract.createEntityGraph
(Class<T> rootType, String graphName) Create a new mutable instance ofEntityGraph
, based on a predefined named entity graph, allowing customization of the graph, or returnnull
if there is no predefined graph with the given name.RootGraph<?>
SharedSessionContract.createEntityGraph
(String graphName) Create a new mutable instance ofEntityGraph
, based on a predefined named entity graph, allowing customization of the graph, or returnnull
if there is no predefined graph with the given name.SessionFactory.createGraphForDynamicEntity
(String entityName) Create anEntityGraph
which may be used from loading a dynamic entity withEntityManager.find(EntityGraph, Object, FindOption...)
.RootGraph<?>
SessionFactory.findEntityGraphByName
(String name) Return the rootEntityGraph
with the given name, ornull
if there is no graph with the given name.RootGraph<?>
Session.getEntityGraph
(String graphName) Obtain an immutable reference to a predefined named entity graph or returnnull
if there is no predefined graph with the given name.RootGraph<?>
SharedSessionContract.getEntityGraph
(String graphName) Obtain an immutable reference to a predefined named entity graph or returnnull
if there is no predefined graph with the given name.default <T> RootGraph<T>
SessionFactory.parseEntityGraph
(CharSequence graphText) Creates a RootGraph based on the passed string representation.default <T> RootGraph<T>
SessionFactory.parseEntityGraph
(Class<T> rootEntityClass, CharSequence graphText) Creates a RootGraph for the givenrootEntityClass
and parses the graph text into it.default <T> RootGraph<T>
SessionFactory.parseEntityGraph
(String rootEntityName, CharSequence graphText) Creates a RootGraph for the givenrootEntityName
and parses the graph text into it. -
Uses of RootGraph in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return RootGraphModifier and TypeMethodDescription<T> RootGraph<T>
SessionDelegatorBaseImpl.createEntityGraph
(Class<T> rootType, String graphName) <T> RootGraph<T>
SessionLazyDelegator.createEntityGraph
(Class<T> rootType) <T> RootGraph<T>
SessionLazyDelegator.createEntityGraph
(Class<T> rootType, String graphName) RootGraph<?>
SessionLazyDelegator.createEntityGraph
(String graphName) <T> RootGraph<T>
SharedSessionDelegatorBaseImpl.createEntityGraph
(Class<T> rootType) <T> RootGraph<T>
SharedSessionDelegatorBaseImpl.createEntityGraph
(Class<T> rootType, String graphName) RootGraph<?>
SharedSessionDelegatorBaseImpl.createEntityGraph
(String graphName) SessionFactoryDelegatingImpl.createGraphForDynamicEntity
(String entityName) SessionFactoryImplementor.createGraphForDynamicEntity
(String entityName) RootGraph<?>
SessionLazyDelegator.getEntityGraph
(String graphName) RootGraph<?>
SharedSessionDelegatorBaseImpl.getEntityGraph
(String graphName) -
Uses of RootGraph in org.hibernate.graph
Methods in org.hibernate.graph that return RootGraphModifier and TypeMethodDescriptionRootGraph.makeCopy
(boolean mutable) Graph.makeRootGraph
(String name, boolean mutable) Deprecated, for removal: This API element is subject to removal in a future version.This will be removedRootGraph.makeRootGraph
(String name, boolean mutable) Deprecated, for removal: This API element is subject to removal in a future version.static <T> RootGraph<T>
GraphParser.parse
(CharSequence graphText, SessionFactory sessionFactory) Creates a root graph based on the passedgraphText
.static <T> RootGraph<T>
GraphParser.parse
(Class<T> rootType, CharSequence graphText, EntityManager entityManager) Creates a root graph based on the passed `rootType` and parses `graphText` into the generated root graphstatic <T> RootGraph<T>
GraphParser.parse
(Class<T> rootEntityClass, CharSequence graphText, SessionFactory sessionFactory) Creates a root graph based on the passedrootEntityClass
and parsesgraphText
into the generated root graph.static <T> RootGraph<T>
GraphParser.parse
(String rootEntityName, CharSequence graphText, SessionFactory sessionFactory) Creates a root graph based on the passedrootEntityName
and parsesgraphText
into the generated root graph. -
Uses of RootGraph in org.hibernate.graph.internal
Classes in org.hibernate.graph.internal that implement RootGraph -
Uses of RootGraph in org.hibernate.graph.spi
Subinterfaces of RootGraph in org.hibernate.graph.spi -
Uses of RootGraph in org.hibernate.internal
Methods in org.hibernate.internal that return RootGraphModifier and TypeMethodDescription<T> RootGraph<T>
AbstractSharedSessionContract.createEntityGraph
(Class<T> rootType, String graphName) SessionFactoryImpl.createGraphForDynamicEntity
(String entityName) -
Uses of RootGraph in org.hibernate.metamodel
Methods in org.hibernate.metamodel that return RootGraphModifier and TypeMethodDescriptionRootGraph<?>
MappingMetamodel.defaultGraph
(Class<?> entityJavaType) RootGraph<?>
MappingMetamodel.defaultGraph
(String entityName) RootGraph<?>
MappingMetamodel.defaultGraph
(EntityDomainType<?> entityDomainType) RootGraph<?>
MappingMetamodel.defaultGraph
(EntityPersister entityDescriptor) RootGraph<?>
MappingMetamodel.findNamedGraph
(String name) Methods in org.hibernate.metamodel that return types with arguments of type RootGraphModifier and TypeMethodDescriptionMappingMetamodel.findRootGraphsForType
(Class<?> baseEntityJavaType) MappingMetamodel.findRootGraphsForType
(String baseEntityName) MappingMetamodel.findRootGraphsForType
(EntityPersister baseEntityDescriptor) Methods in org.hibernate.metamodel with parameters of type RootGraphModifier and TypeMethodDescriptionvoid
MappingMetamodel.addNamedEntityGraph
(String graphName, RootGraph<?> entityGraph) Method parameters in org.hibernate.metamodel with type arguments of type RootGraphModifier and TypeMethodDescriptionvoid
MappingMetamodel.forEachNamedGraph
(Consumer<RootGraph<?>> action) -
Uses of RootGraph in org.hibernate.metamodel.model.domain
Methods in org.hibernate.metamodel.model.domain that return RootGraphMethods in org.hibernate.metamodel.model.domain that return types with arguments of type RootGraphMethods in org.hibernate.metamodel.model.domain with parameters of type RootGraphModifier and TypeMethodDescriptionvoid
JpaMetamodel.addNamedEntityGraph
(String graphName, RootGraph<?> entityGraph) -
Uses of RootGraph in org.hibernate.metamodel.model.domain.internal
Methods in org.hibernate.metamodel.model.domain.internal that return RootGraphModifier and TypeMethodDescriptionRootGraph<?>
MappingMetamodelImpl.defaultGraph
(Class<?> entityJavaType) RootGraph<?>
MappingMetamodelImpl.defaultGraph
(String entityName) RootGraph<?>
MappingMetamodelImpl.defaultGraph
(EntityDomainType<?> entityDomainType) RootGraph<?>
MappingMetamodelImpl.defaultGraph
(EntityPersister entityDescriptor) RootGraph<?>
MappingMetamodelImpl.findEntityGraphByName
(String name) RootGraph<?>
MappingMetamodelImpl.findNamedGraph
(String name) Methods in org.hibernate.metamodel.model.domain.internal that return types with arguments of type RootGraphModifier and TypeMethodDescriptionJpaMetamodelImpl.findEntityGraphsByJavaType
(Class<T> entityClass) MappingMetamodelImpl.findEntityGraphsByJavaType
(Class<T> entityClass) MappingMetamodelImpl.findRootGraphsForType
(Class<?> baseEntityJavaType) MappingMetamodelImpl.findRootGraphsForType
(String baseEntityName) MappingMetamodelImpl.findRootGraphsForType
(EntityPersister baseEntityDescriptor) Methods in org.hibernate.metamodel.model.domain.internal with parameters of type RootGraphModifier and TypeMethodDescriptionvoid
JpaMetamodelImpl.addNamedEntityGraph
(String graphName, RootGraph<?> entityGraph) void
MappingMetamodelImpl.addNamedEntityGraph
(String graphName, RootGraph<?> entityGraph) Method parameters in org.hibernate.metamodel.model.domain.internal with type arguments of type RootGraphModifier and TypeMethodDescriptionvoid
MappingMetamodelImpl.forEachNamedGraph
(Consumer<RootGraph<?>> action) -
Uses of RootGraph in org.hibernate.procedure.internal
Methods in org.hibernate.procedure.internal with parameters of type RootGraphModifier and TypeMethodDescriptionProcedureCallImpl.applyGraph
(RootGraph graph, GraphSemantic semantic) -
Uses of RootGraph in org.hibernate.query
Methods in org.hibernate.query with parameters of type RootGraphModifier and TypeMethodDescriptionQuery.applyFetchGraph
(RootGraph graph) Deprecated.UseQuery.setEntityGraph(EntityGraph, GraphSemantic)
which is more type safeQuery.applyGraph
(RootGraph graph, GraphSemantic semantic) Deprecated.UseQuery.setEntityGraph(EntityGraph, GraphSemantic)
which is more type safeQuery.applyLoadGraph
(RootGraph graph) Deprecated.UseQuery.setEntityGraph(EntityGraph, GraphSemantic)
which is more type safe -
Uses of RootGraph in org.hibernate.query.hql.spi
Methods in org.hibernate.query.hql.spi with parameters of type RootGraphModifier and TypeMethodDescriptiondefault SqmQueryImplementor<R>
SqmQueryImplementor.applyFetchGraph
(RootGraph graph) Deprecated.SqmQueryImplementor.applyGraph
(RootGraph graph, GraphSemantic semantic) default SqmQueryImplementor<R>
SqmQueryImplementor.applyLoadGraph
(RootGraph graph) Deprecated. -
Uses of RootGraph in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal with parameters of type RootGraphModifier and TypeMethodDescriptionNativeQueryImpl.applyGraph
(RootGraph graph, GraphSemantic semantic) -
Uses of RootGraph in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal with parameters of type RootGraphModifier and TypeMethodDescriptionQuerySqmImpl.applyGraph
(RootGraph graph, GraphSemantic semantic)