JPA Method
in jakarta.persistence.Graph

void removeAttributeNodes(
  Attribute<X,Y>.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 addAttributeNode() or addSubgraph().
Since:
JPA 3.2