void addNamedEntityGraph(
String graphName,
EntityGraph<T> entityGraph
)
Add a named copy of the given EntityGraph to this
EntityManagerFactory. If an entity graph with the given name already exists, it is replaced. - Parameters:
graphName- name for the entity graphentityGraph- entity graph
- Since:
- JPA 2.1