Jakarta Persistence (JPA) Annotation Type
jakarta.persistence.NamedSubgraph
- Implemented Interfaces:
Annotation
A
NamedSubgraph is a member element of a NamedEntityGraph. The NamedSubgraph is only referenced from within its containing NamedEntityGraph and cannot be referenced independently. It is referenced by its name from a NamedAttributeNode element of the NamedEntityGraph.- See Also:
- Since:
- Jakarta Persistence (JPA) 2.1
Public Instance Methods
If the named subgraph corresponds to a subclass of the class referenced by the corresponding attribute node, then only subclass-specific attributes are listed.
- Since:
- Jakarta Persistence (JPA) 1.0
String name()- Since:
- Jakarta Persistence (JPA) 1.0
Class<?> type()The element must be specified when this subgraph is extending a definition on behalf of a subclass.
- 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()