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