Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.graph |
Hibernate's (extended) support for JPA's entity graphs
|
org.hibernate.graph.spi | |
org.hibernate.query |
Modifier and Type | Method and Description |
---|---|
<T> RootGraph<T> |
Session.createEntityGraph(Class<T> rootType) |
RootGraph<?> |
Session.createEntityGraph(String graphName) |
RootGraph<?> |
Session.getEntityGraph(String graphName) |
Modifier and Type | Method and Description |
---|---|
default IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(RootGraph<T> graph) |
default MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.with(RootGraph<T> graph) |
IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(RootGraph<T> graph,
GraphSemantic semantic) |
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.with(RootGraph<T> graph,
GraphSemantic semantic) |
Modifier and Type | Method and Description |
---|---|
RootGraph<J> |
Graph.makeRootGraph(String name,
boolean mutable)
Create a named (if passed `name` != null) root Graph.
|
RootGraph<J> |
RootGraph.makeRootGraph(String name,
boolean mutable) |
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 graph
|
Modifier and Type | Interface and Description |
---|---|
interface |
RootGraphImplementor<J>
Integration version of the RootGraph contract
|
Modifier and Type | Method and Description |
---|---|
default Query<R> |
Query.applyFetchGraph(RootGraph graph)
Apply the given graph using fetch semantics
|
Query<R> |
Query.applyGraph(RootGraph graph,
GraphSemantic semantic)
Apply the given graph using the given semantic
|
default Query<R> |
Query.applyLoadGraph(RootGraph graph)
Apply the given graph using load semantics
|
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.