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