Jakarta Persistence (JPA) Method
EntityGraph<?> getEntityGraph(
String graphName
)
Obtain a named
EntityGraph<T>. The returned instance of EntityGraph should be considered immutable.- Parameters:
graphName- name of an existing entity graph
- Returns:
- named entity graph.
- Throws:
- if there is no entity of graph with the given name.IllegalArgumentException
- Since:
- Jakarta Persistence (JPA) 2.1