All Known Subinterfaces:
EntityGraph
All Known Implementing Classes:
AbstractEntityGraph, DynamicEntityGraph, DynamicEntityGraph, NamedEntityGraph, NamedEntityGraph

public interface EntityGraph
Author:
Réda Housni Alaoui
  • Field Details

  • 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

      default <T> T execute(Function<EntityGraph,T> function)