EntityGraph<T>, allowing dynamic definition of an entity graph.">
Jakarta Persistence (JPA) Method

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


Create a new mutable EntityGraph<T>, allowing dynamic definition of an entity graph.
Parameters:
rootType - class of entity graph
Returns:
entity graph.
Since:
Jakarta Persistence (JPA) 2.1