Class JpaQueryLookupStrategy
java.lang.Object
org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy
Query lookup strategy to execute finders.
- Author:
- Oliver Gierke, Thomas Darimont, Mark Paluch, RĂ©da Housni Alaoui, Greg Turnquist
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryLookupStrategy
create
(jakarta.persistence.EntityManager em, JpaQueryMethodFactory queryMethodFactory, QueryLookupStrategy.Key key, QueryMethodEvaluationContextProvider evaluationContextProvider, QueryRewriterProvider queryRewriterProvider, EscapeCharacter escape)
-
Method Details
-
create
public static QueryLookupStrategy create(jakarta.persistence.EntityManager em, JpaQueryMethodFactory queryMethodFactory, @Nullable QueryLookupStrategy.Key key, QueryMethodEvaluationContextProvider evaluationContextProvider, QueryRewriterProvider queryRewriterProvider, EscapeCharacter escape) - Parameters:
em
- must not be null.queryMethodFactory
- must not be null.key
- may be null.evaluationContextProvider
- must not be null.escape
- must not be null.
-