JPA Annotation Attributein javax.persistence.NamedSubgraphClass type default void.class (Optional) The type represented by this subgraph. The element must be specified when this subgraph is extending a definition on behalf of a subclass. Since:JPA 2.1