Jakarta Persistence (JPA) Method

void removeAttributeNode(
  Attribute<? super T,?> 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 Graph.addAttributeNode or Graph.addSubgraph. If there is no existing node for the given attribute, this operation has no effect.
Parameters:
attribute - attribute
Since:
Jakarta Persistence (JPA) 3.2