JPA Annotation Attributein javax.persistence.NamedSubgraphString name default null (Required) The name of the subgraph as referenced from a NamedAttributeNode element. Since:JPA 2.1