Uses of Interface
jakarta.persistence.EntityGraph
Packages that use EntityGraph
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of EntityGraph in jakarta.persistence
Methods in jakarta.persistence that return EntityGraphModifier and TypeMethodDescription<T> EntityGraph<T> EntityManager.createEntityGraph(Class<T> rootType) Create a new mutableEntityGraph, allowing dynamic definition of an entity graph.EntityGraph<?> EntityManager.createEntityGraph(String graphName) Obtain a mutable copy of a namedEntityGraph, or return null if there is no entity graph with the given name.EntityGraph<?> EntityManager.getEntityGraph(String graphName) Obtain a namedEntityGraph.Methods in jakarta.persistence that return types with arguments of type EntityGraphModifier and TypeMethodDescription<T> List<EntityGraph<? super T>> EntityManager.getEntityGraphs(Class<T> entityClass) Return all namedEntityGraphs that are defined for the given entity class type.<E> Map<String, EntityGraph<? extends E>> EntityManagerFactory.getNamedEntityGraphs(Class<E> entityType) A map keyed by graph name, containing every named entity graph whose entity type is assignable to the given Java type.Methods in jakarta.persistence with parameters of type EntityGraphModifier and TypeMethodDescription<T> voidEntityManagerFactory.addNamedEntityGraph(String graphName, EntityGraph<T> entityGraph) Add a named copy of the givenEntityGraphto thisEntityManagerFactory.<T> TEntityManager.find(EntityGraph<T> entityGraph, Object primaryKey, FindOption... options) Find an instance of the root entity of the givenEntityGraphby primary key, using the specified options, and interpreting theEntityGraphas a load graph.