Interface EntityGraph
- All Known Subinterfaces:
EntityGraph
- All Known Implementing Classes:
AbstractEntityGraph,DynamicEntityGraph,DynamicEntityGraph,NamedEntityGraph,NamedEntityGraph
public interface EntityGraph
- Author:
- Réda Housni Alaoui
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EntityGraphAnEntityGraphthat will have zero effect on queries. -
Method Summary
Modifier and TypeMethodDescriptionbuildQueryHint(javax.persistence.EntityManager entityManager, Class<?> entityType) default <T> Texecute(Function<EntityGraph, T> function)
-
Field Details
-
NOOP
AnEntityGraphthat will have zero effect on queries.
-
-
Method Details
-
buildQueryHint
Optional<EntityGraphQueryHint> buildQueryHint(javax.persistence.EntityManager entityManager, Class<?> entityType) - Returns:
- A query hint to apply to a query. If empty, the entity graph will be ignored and therefore not applied to the query.
-
execute
-