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
Public Instance Methods
String keySubgraph()A
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.
- Since:
- Jakarta Persistence (JPA) 1.0
String subgraph()If 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.
- Since:
- Jakarta Persistence (JPA) 1.0
String value()- Since:
- Jakarta Persistence (JPA) 1.0
Annotation Elements
This is a marker annotation with no members/elements.
Additional JDK methods inherited from java.lang.annotation.Annotation
java.lang.annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals(Object), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()