JPA Method
in javax.persistence.Subgraph

void addAttributeNodes(
  String... attributeName
)


Add one or more attribute nodes to the entity graph.
Parameters:
attributeName - name of the attribute
Throws:
IllegalArgumentException - if the attribute is not an attribute of this managed type.
IllegalStateException - if the EntityGraph has been statically defined
Since:
JPA 2.1