Package javax.persistence
Annotation Type NamedSubgraph
-
@Target({}) @Retention(RUNTIME) public @interface NamedSubgraph
ANamedSubgraph
is a member element of aNamedEntityGraph
. TheNamedSubgraph
is only referenced from within a NamedEntityGraph and can not be referenced independently. It is referenced by itsname
from aNamedAttributeNode
element of theNamedEntityGraph
.- See Also:
NamedEntityGraph
,NamedAttributeNode
- Since:
- 2.1
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description NamedAttributeNode[]
attributeNodes
(Required) The list of the attributes of the class that must be included.java.lang.String
name
(Required) The name of the subgraph as referenced from a NamedAttributeNode element.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class
type
(Optional) The type represented by this subgraph.
-
-
-
-
attributeNodes
NamedAttributeNode[] attributeNodes
(Required) The list of the attributes of the class that must be included. If the named subgraph corresponds to a subclass of the class referenced by the corresponding attribute node, then only subclass-specific attributes are listed.
-
-