Jakarta Persistence (JPA) Annotation Type
jakarta.persistence.NamedAttributeNode
- Implemented Interfaces:
Annotation
A
NamedAttributeNode is a member element of a NamedEntityGraph. - See Also:
- Since:
- Jakarta Persistence (JPA) 2.1
Annotation Elements
String value- Since:
- Jakarta Persistence (JPA) 1.0
String subgraphIf the target type has inheritance, multiple subgraphs can be specified. These additional subgraphs are intended to add subclass-specific attributes. Superclass subgraph entries will be merged into subclass subgraphs.
The value of this element is the name of the subgraph as specified by the name element of the corresponding NamedSubgraph element. If multiple subgraphs are specified due to inheritance, they are referenced by this name.
- Default:
- ""
- Since:
- Jakarta Persistence (JPA) 1.0
String keySubgraphA
keySubgraph can not be specified without the Map attribute also being specified. If the target type has inheritance, multiple subgraphs can be specified. These additional subgraphs are intended to add subclass-specific attributes. Superclass subgraph entries are merged into subclass subgraphs. The value of this element is the name of the key subgraph as specified by the name element of the corresponding NamedSubgraph element. If multiple key subgraphs are specified due to inheritance, they are referenced by this name.
- Default:
- ""
- Since:
- Jakarta Persistence (JPA) 1.0
Additional JDK methods inherited from java.lang.annotation.Annotation
annotationType(), equals(Object), hashCode(), toString()