JPA Method
in jakarta.persistence.Graph

void removeAttributeNode(
  Attribute<?superT,?> attribute
)


Remove an attribute node from the entity graph. When this graph is interpreted as a load graph, this operation suppresses inclusion of an attribute mapped for eager fetching. The effect of this call may be overridden by subsequent invocations of addAttributeNode() or addSubgraph(). If there is no existing node for the given attribute, this operation has no effect.
Parameters:
attribute - attribute
Since:
JPA 3.2