void addAttributeNodes(
Attribute<?superT,?>... attribute
)
Add one or more attribute nodes to the entity graph. If there is already an existing node for one of the given attributes, that particular argument is ignored and has no effect.
- Parameters:
attribute
- attribute
- Throws:
- IllegalStateException - if this EntityGraph has been statically defined
- Since:
- JPA 3.2