Package | Description |
---|---|
javax.persistence |
Java Persistence is the API for the management for persistence and object/relational mapping.
|
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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.