The methods to add subgraphs implicitly create the corresponding attribute nodes as well; such attribute nodes should not be redundantly specified.
AttributeNode, Subgraph, NamedEntityGraph, EntityManager#createEntityGraph(Class), EntityManager#createEntityGraph(String), EntityManager#getEntityGraph(String), EntityManagerFactory#addNamedEntityGraph(String, EntityGraph), EntityManager#find(EntityGraph, Object, FindOption...)
| Modifier and Type | Method and Description |
|---|---|
| public <T> Subgraph | Returns: subgraph for the subclassentity subclass type)
Deprecated
for removal since 3.2. use
addTreatedSubgraph(Class)
Add additional attributes to this entity graph that
correspond to attributes of subclasses of the entity type of
this |
| public <S extends T> Subgraph | Returns: subgraph for the subclassentity subclass type)Add additional attributes to this entity graph that
correspond to attributes of subclasses of the entity type of
this |
| public String | getName()
Return the name of a named |
| addSubclassSubgraph | back to summary |
|---|---|
| public <T> Subgraph Add additional attributes to this entity graph that
correspond to attributes of subclasses of the entity type of
this
| |
| addTreatedSubgraph | back to summary |
|---|---|
| public <S extends T> Subgraph Add additional attributes to this entity graph that
correspond to attributes of subclasses of the entity type of
this
| |
| getName | back to summary |
|---|---|
| public String getName() Return the name of a named | |