JPA Method
in javax.persistence.EntityManager

EntityGraph<T> createEntityGraph(
  Class<T> rootType
)


Return a mutable EntityGraph that can be used to dynamically create an EntityGraph.
Parameters:
rootType - class of entity graph
Return:
entity graph
Since:
JPA 2.1