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.-
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.<T> RootGraph<T> Session.createEntityGraph(Class<T> rootType, String graphName) Deprecated, for removal: This API element is subject to removal in a future version.RootGraph<?> Session.createEntityGraph(String graphName) Deprecated, for removal: This API element is subject to removal in a future version.UseSession.getEntityGraph(String)instead.default <T> RootGraph<T> SessionFactory.createEntityGraph(Class<T> entityType) Create anEntityGraphfor 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) Deprecated, for removal: This API element is subject to removal in a future version.UseSharedSessionContract.getEntityGraph(Class, String)instead.RootGraph<?> SharedSessionContract.createEntityGraph(String graphName) Deprecated, for removal: This API element is subject to removal in a future version.UseSharedSessionContract.getEntityGraph(String)instead.SessionFactory.createGraphForDynamicEntity(String entityName) Create anEntityGraphwhich may be used from loading a dynamic entity withEntityHandler.find(EntityGraph, Object, FindOption...).RootGraph<?> SessionFactory.findEntityGraphByName(String name) Return the rootEntityGraphwith the given name, ornullif there is no graph with the given name.<T> RootGraph<T> Session.getEntityGraph(Class<T> rootType, String graphName) Obtain a mutable copy of a predefined named entity graph whose root type is exactly the given entity type.RootGraph<?> Session.getEntityGraph(String graphName) Obtain a mutable copy of a predefined named entity graph.<T> RootGraph<T> SharedSessionContract.getEntityGraph(Class<T> rootType, String graphName) Obtain a mutable copy of a predefined named entity graph whose root type is exactly the given entity type.RootGraph<?> SharedSessionContract.getEntityGraph(String graphName) Obtain a mutable copy of a predefined named entity graph.<T> RootGraph<T> SessionFactory.parseEntityGraph(CharSequence graphText) Creates aRootGraphbased on the passed string representation.<T> RootGraph<T> SessionFactory.parseEntityGraph(Class<T> rootEntityClass, CharSequence graphText) Creates aRootGraphfor the givenrootEntityClassand parses the graph text into it.<T> RootGraph<T> SessionFactory.parseEntityGraph(String rootEntityName, CharSequence graphText) Creates aRootGraphfor the givenrootEntityNameand 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) Deprecated.RootGraph<?> SessionLazyDelegator.createEntityGraph(String graphName) Deprecated.<T> RootGraph<T> SessionDelegatorBaseImpl.getEntityGraph(Class<T> entityClass, String name) <T> RootGraph<T> SessionLazyDelegator.getEntityGraph(Class<T> entityClass, String name) RootGraph<?> SessionLazyDelegator.getEntityGraph(String graphName) default <T> RootGraph<T> SessionFactoryImplementor.parseEntityGraph(CharSequence graphText) default <T> RootGraph<T> SessionFactoryImplementor.parseEntityGraph(Class<T> rootEntityClass, CharSequence graphText) default <T> RootGraph<T> SessionFactoryImplementor.parseEntityGraph(String rootEntityName, CharSequence graphText) -
Uses of RootGraph in org.hibernate.graph
Methods in org.hibernate.graph that return RootGraphModifier and TypeMethodDescriptionRootGraph.makeCopy(boolean mutable) Make a copy of this root graph, with the given mutability.Make a copy of this graph node, with the given mutability and the given name.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 passedrootTypeand parsesgraphTextinto the generated root graph.static <T> RootGraph<T> GraphParser.parse(Class<T> rootEntityClass, CharSequence graphText, SessionFactory sessionFactory) Creates a root graph based on the passedrootEntityClassand parsesgraphTextinto the generated root graph.static <T> RootGraph<T> GraphParser.parse(String rootEntityName, CharSequence graphText, SessionFactory sessionFactory) Creates a root graph based on the passedrootEntityNameand parsesgraphTextinto the generated root graph. -
Uses of RootGraph in org.hibernate.graph.spi
Subinterfaces of RootGraph in org.hibernate.graph.spi
Session.getEntityGraph(Class, String)instead.