Package | Description |
---|---|
org.springframework.data.jpa.repository.query |
Query implementation to execute queries against JPA.
|
org.springframework.data.jpa.repository.support |
JPA repository implementations.
|
Modifier and Type | Method and Description |
---|---|
static QueryHints |
Jpa21Utils.getFetchGraphHint(javax.persistence.EntityManager em,
JpaEntityGraph entityGraph,
Class<?> entityType) |
Modifier and Type | Class and Description |
---|---|
class |
MutableQueryHints
Mutable implementation of
QueryHints , without the Option to switch between
MutableQueryHints.forCounts() /MutableQueryHints.withFetchGraphs(EntityManager) hints. |
static class |
QueryHints.NoHints
Null object implementation of
QueryHints . |
Modifier and Type | Method and Description |
---|---|
QueryHints |
MutableQueryHints.forCounts() |
QueryHints |
QueryHints.forCounts()
Creates and returns a new
QueryHints instance that will contain only those hints applicable for count
queries. |
QueryHints |
QueryHints.NoHints.forCounts() |
static QueryHints |
QueryHints.from(QueryHints... sources)
Create a new
QueryHints object from the given sources . |
QueryHints |
CrudMethodMetadata.getQueryHints()
Returns all query hints in a list to be applied to queries executed for the CRUD method.
|
protected QueryHints |
SimpleJpaRepository.getQueryHints()
Returns
QueryHints with the query hints based on the current CrudMethodMetadata and potential
EntityGraph information. |
QueryHints |
CrudMethodMetadata.getQueryHintsForCount()
Returns all query hints in a list to be applied to queries executed for the CRUD method.
|
QueryHints |
MutableQueryHints.withFetchGraphs(javax.persistence.EntityManager em) |
QueryHints |
QueryHints.withFetchGraphs(javax.persistence.EntityManager em)
Creates and returns a new
QueryHints instance including EntityGraph . |
QueryHints |
QueryHints.NoHints.withFetchGraphs(javax.persistence.EntityManager em) |
Modifier and Type | Method and Description |
---|---|
static QueryHints |
QueryHints.from(QueryHints... sources)
Create a new
QueryHints object from the given sources . |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.