Uses of Enum Class
org.hibernate.graph.GraphSemantic
Packages that use GraphSemantic
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.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.
SPIs for native SQL query support.
-
Uses of GraphSemantic in org.hibernate
Methods in org.hibernate with parameters of type GraphSemanticModifier and TypeMethodDescription<T> TStatelessSession.get(EntityGraph<T> graph, GraphSemantic graphSemantic, Object id) Deprecated, for removal: This API element is subject to removal in a future version.<T> TStatelessSession.get(EntityGraph<T> graph, GraphSemantic graphSemantic, Object id, LockMode lockMode) Deprecated, for removal: This API element is subject to removal in a future version.<T> List<T> StatelessSession.getMultiple(EntityGraph<T> entityGraph, GraphSemantic graphSemantic, List<?> ids) Deprecated, for removal: This API element is subject to removal in a future version.IdentifierLoadAccess.with(EntityGraph<T> graph, GraphSemantic semantic) Deprecated, for removal: This API element is subject to removal in a future version.Customize the associations fetched by specifying an entity graph, and how it should be interpreted.MultiIdentifierLoadAccess.with(EntityGraph<T> graph, GraphSemantic semantic) Deprecated, for removal: This API element is subject to removal in a future version.Customize the associations fetched by specifying an entity graph, and how it should be interpreted.NaturalIdLoadAccess.with(EntityGraph<T> graph, GraphSemantic semantic) Deprecated.Customize the associations fetched by specifying an entity graph, and how it should be interpreted.NaturalIdMultiLoadAccess.with(EntityGraph<T> graph, GraphSemantic semantic) Deprecated.Customize the associations fetched by specifying an entity graph, and how it should be interpreted.SimpleNaturalIdLoadAccess.with(EntityGraph<T> graph, GraphSemantic semantic) Deprecated.Customize the associations fetched by specifying an entity graph, and how it should be interpreted. -
Uses of GraphSemantic in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return GraphSemanticMethods in org.hibernate.engine.spi with parameters of type GraphSemanticModifier and TypeMethodDescriptionLoadQueryInfluencers.applyEntityGraph(RootGraphImplementor<?> rootGraph, GraphSemantic graphSemantic) voidEffectiveEntityGraph.applyGraph(RootGraphImplementor<?> graph, GraphSemantic semantic) Apply the graph and semantic.<T> TEffectiveEntityGraph.fromAppliedGraph(GraphSemantic semantic, RootGraphImplementor<?> graph, Supplier<T> action) <T> TLoadQueryInfluencers.fromAppliedGraph(GraphSemantic semantic, RootGraphImplementor<?> graph, Supplier<T> action) voidEffectiveEntityGraph.withAppliedGraph(GraphSemantic semantic, RootGraphImplementor<?> graph, Runnable action) voidLoadQueryInfluencers.withAppliedGraph(GraphSemantic semantic, RootGraphImplementor<?> graph, Runnable action) -
Uses of GraphSemantic in org.hibernate.graph
Subclasses with type arguments of type GraphSemantic in org.hibernate.graphModifier and TypeClassDescriptionenumMethods in org.hibernate.graph that return GraphSemanticModifier and TypeMethodDescriptionstatic GraphSemanticGraphSemantic.fromHintName(String hintName) static GraphSemanticReturns the enum constant of this class with the specified name.static GraphSemantic[]GraphSemantic.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.hibernate.graph with parameters of type GraphSemanticModifier and TypeMethodDescriptionstatic <R> SelectionQuery<R> EntityGraphs.applyGraph(StatementOrTypedQuery statementOrTypedQuery, EntityGraph<R> graph, GraphSemantic semantic) Convenience method to apply the given graph to the given query without the need for a cast when working with JPA API.static ListEntityGraphs.executeList(Query query, EntityGraph<?> graph, GraphSemantic semantic) Deprecated.Since it is not type safe and returns a raw typestatic <R> List<R> EntityGraphs.executeList(TypedQuery<R> query, EntityGraph<R> graph, GraphSemantic semantic) Deprecated.static <R> voidEntityGraphs.setGraph(TypedQuery<R> query, EntityGraph<R> graph, GraphSemantic semantic) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of GraphSemantic in org.hibernate.graph.spi
Methods in org.hibernate.graph.spi that return GraphSemanticModifier and TypeMethodDescriptionAppliedGraph.getSemantic()The semantic (fetch/load) under which the graph should be applied -
Uses of GraphSemantic in org.hibernate.query
Methods in org.hibernate.query with parameters of type GraphSemanticModifier and TypeMethodDescription<X> SelectionQuery<X> MutationOrSelectionQuery.asSelectionQuery(EntityGraph<X> entityGraph, GraphSemantic graphSemantic) Overload of MutationOrSelectionQuery.asSelectionQuery(EntityGraph) allowing a specific semantic (load/fetch) for the graph.MutationOrSelectionQuery.setEntityGraph(EntityGraph<? super Object> graph, GraphSemantic semantic) Deprecated, for removal: This API element is subject to removal in a future version.Query.setEntityGraph(EntityGraph<? super T> graph, GraphSemantic semantic) Deprecated, for removal: This API element is subject to removal in a future version.Prefer passing the entity-graph while creating the query - SharedSessionContract.createSelectionQuery(String, EntityGraph)SelectionQuery.setEntityGraph(EntityGraph<? super R> graph, GraphSemantic semantic) Deprecated, for removal: This API element is subject to removal in a future version.Prefer passing the entity-graph while creating the query - SharedSessionContract.createSelectionQuery(String, EntityGraph) -
Uses of GraphSemantic in org.hibernate.query.spi
Methods in org.hibernate.query.spi with parameters of type GraphSemanticModifier and TypeMethodDescriptionvoidMutableQueryOptions.applyGraph(RootGraphImplementor<?> rootGraph, GraphSemantic graphSemantic) default <X> SelectionQueryImplementor<X> MutationQueryImplementor.asSelectionQuery(EntityGraph<X> entityGraph, GraphSemantic graphSemantic) <X> SelectionQueryImplementor<X> QueryImplementor.asSelectionQuery(EntityGraph<X> entityGraph, GraphSemantic graphSemantic) SelectionQueryImplementor.setEntityGraph(EntityGraph<? super R> graph, GraphSemantic semantic) Deprecated. -
Uses of GraphSemantic in org.hibernate.query.sql.spi
Methods in org.hibernate.query.sql.spi with parameters of type GraphSemanticModifier and TypeMethodDescriptionNativeQueryImplementor.setEntityGraph(EntityGraph<? super R> graph, GraphSemantic semantic) Deprecated.
EntityHandler.get(EntityGraph, Object, FindOption...)instead