Jakarta Persistence (JPA) Method
AttributeNode<Y> addAttributeNode(
String attributeName
)
Get an existing attribute node for the attribute with the given name, or add a new attribute node if there is no existing node.
- Parameters:
attributeName- name of the attribute
- Returns:
- the attribute node.
- Throws:
- if the EntityGraph has been statically defined.IllegalStateException- if the attribute is not an attribute of this entity..IllegalArgumentException
- Since:
- Jakarta Persistence (JPA) 3.2