Jakarta Persistence (JPA) Method

void removeAttributeNodes(
  PersistentAttributeType nodeTypes
)


Remove all attribute nodes of the given attribute types. When this graph is interpreted as a load graph, this operation suppresses inclusion of attributes mapped for eager fetching. The effect of this call may be overridden by subsequent invocations of Graph.addAttributeNode or Graph.addSubgraph.
Since:
Jakarta Persistence (JPA) 3.2