Uses of Interface
jakarta.persistence.Subgraph
Packages that use Subgraph
Package
Description
Defines the core APIs for the management for persistence and
object/relational mapping.
-
Uses of Subgraph in jakarta.persistence
Methods in jakarta.persistence that return SubgraphModifier and TypeMethodDescription<E> Subgraph<E> Graph.addElementSubgraph(PluralAttribute<? super T, ?, E> attribute) Add a node to the graph representing a collection element that is a managed type.<X> Subgraph<X> Graph.addElementSubgraph(String attributeName) Add a node to the graph representing a collection element that is a managed type.<X> Subgraph<X> Graph.addElementSubgraph(String attributeName, Class<X> type) Add a node to the graph that representing a collection element that is a managed type.<X> Subgraph<X> Graph.addKeySubgraph(String attributeName) Add a node to the graph representing a map key that is a managed type.<X> Subgraph<X> Graph.addKeySubgraph(String attributeName, Class<X> type) Add a node to the graph representing a map key that is a managed type with inheritance.<K> Subgraph<K> Graph.addMapKeySubgraph(MapAttribute<? super T, K, ?> attribute) Add a node to the graph representing a map key that is a managed type.AttributeNode.addSubgraph()Add a subgraph rooted at this attribute node, which must be an embedded attribute or an association to an entity class.<X> Subgraph<X> Graph.addSubgraph(Attribute<? super T, X> attribute) Add a node to the graph representing a managed type.<X> Subgraph<X> Graph.addSubgraph(String attributeName) Add a node to the graph representing a managed type.<X> Subgraph<X> Graph.addSubgraph(String attributeName, Class<X> type) Add a node to the graph representing a managed type with inheritance.<E> Subgraph<E> Graph.addTreatedElementSubgraph(PluralAttribute<? super T, ?, ? super E> attribute, Class<E> type) Add a node to the graph representing a collection element that is a managed type.<K> Subgraph<K> Graph.addTreatedMapKeySubgraph(MapAttribute<? super T, ? super K, ?> attribute, Class<K> type) Add a node to the graph representing a map key that is a managed type with inheritance.AttributeNode.addTreatedSubgraph(Class<S> type) Add a subgraph rooted at this attribute node, which must be an association to an entity class, for an entity subclass of the entity class.EntityGraph.addTreatedSubgraph(Class<S> type) Add additional attributes to this entity graph that correspond to attributes of subclasses of the entity type of thisEntityGraph.<Y> Subgraph<Y> Graph.addTreatedSubgraph(Attribute<? super T, ? super Y> attribute, Class<Y> type) Add a node to the graph representing a managed type with inheritance.Methods in jakarta.persistence that return types with arguments of type SubgraphModifier and TypeMethodDescriptionAttributeNode.getKeySubgraphs()Return a map of subgraphs associated with this attribute node's map key.AttributeNode.getSubgraphs()Return a map of subgraphs associated with this attribute node.