Package | Description |
---|---|
javax.persistence |
Modifier and Type | Method and Description |
---|---|
<T> EntityGraph<T> |
EntityManager.createEntityGraph(Class<T> rootType)
Return a mutable EntityGraph that can be used to dynamically create an EntityGraph.
|
EntityGraph<?> |
EntityManager.createEntityGraph(String graphName)
Return a mutable copy of the named EntityGraph.
|
EntityGraph<?> |
EntityManager.getEntityGraph(String graphName)
Return a named EntityGraph.
|
Modifier and Type | Method and Description |
---|---|
<T> List<EntityGraph<? super T>> |
EntityManager.getEntityGraphs(Class<T> entityClass)
Return all named EntityGraphs that have been defined for the provided class type.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
EntityManagerFactory.addNamedEntityGraph(String graphName,
EntityGraph<T> entityGraph)
Add a named copy of the EntityGraph to the EntityManagerFactory.
|
Copyright © 2016. All rights reserved.