Jakarta Persistence (JPA) Method
AttributeNode<Y> addAttributeNode(
Attribute<? super T,Y> attribute
)
Get an existing attribute node for the given attribute, or add a new attribute node if there is no existing node.
- Parameters:
attribute- attribute
- Returns:
- the attribute node.
- Throws:
- if the EntityGraph has been statically defined.IllegalStateException
- Since:
- Jakarta Persistence (JPA) 3.2