Uses of Interface
org.springframework.data.jpa.repository.support.QueryHints
Packages that use QueryHints
Package
Description
Query implementation to execute queries against JPA.
JPA repository implementations.
-
Uses of QueryHints in org.springframework.data.jpa.repository.query
Methods in org.springframework.data.jpa.repository.query that return QueryHintsModifier and TypeMethodDescriptionstatic QueryHintsJpa21Utils.getFetchGraphHint(jakarta.persistence.EntityManager em, JpaEntityGraph entityGraph, Class<?> entityType) -
Uses of QueryHints in org.springframework.data.jpa.repository.support
Classes in org.springframework.data.jpa.repository.support that implement QueryHintsModifier and TypeClassDescriptionclassMutable implementation ofQueryHints, without the Option to switch betweenMutableQueryHints.forCounts()/MutableQueryHints.withFetchGraphs(EntityManager)hints.static enumNull object implementation ofQueryHints.Methods in org.springframework.data.jpa.repository.support that return QueryHintsModifier and TypeMethodDescriptionMutableQueryHints.forCounts()QueryHints.forCounts()Creates and returns a newQueryHintsinstance that will contain only those hints applicable for count queries.QueryHints.NoHints.forCounts()static QueryHintsQueryHints.from(QueryHints... sources) Create a newQueryHintsobject from the givensources.CrudMethodMetadata.getQueryHints()Returns all query hints in a list to be applied to queries executed for the CRUD method.protected QueryHintsSimpleJpaRepository.getQueryHints()ReturnsQueryHintswith the query hints based on the currentCrudMethodMetadataand potentialEntityGraphinformation.CrudMethodMetadata.getQueryHintsForCount()Returns all query hints in a list to be applied to queries executed for the CRUD method.protected QueryHintsSimpleJpaRepository.getQueryHintsForCount()ReturnsQueryHintswith the query hints on the currentCrudMethodMetadatafor count queries.MutableQueryHints.withFetchGraphs(jakarta.persistence.EntityManager em) QueryHints.NoHints.withFetchGraphs(jakarta.persistence.EntityManager em) QueryHints.withFetchGraphs(jakarta.persistence.EntityManager em) Creates and returns a newQueryHintsinstance includingEntityGraph.Methods in org.springframework.data.jpa.repository.support with parameters of type QueryHintsModifier and TypeMethodDescriptionstatic QueryHintsQueryHints.from(QueryHints... sources) Create a newQueryHintsobject from the givensources.