public final class MyjpaQueryLookupStrategy extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static org.springframework.data.repository.query.QueryLookupStrategy |
create(javax.persistence.EntityManager em,
org.springframework.data.repository.query.QueryLookupStrategy.Key key,
org.springframework.data.jpa.provider.QueryExtractor extractor,
org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
Creates a
QueryLookupStrategy for the given EntityManager and QueryLookupStrategy.Key. |
public static org.springframework.data.repository.query.QueryLookupStrategy create(javax.persistence.EntityManager em,
@Nullable
org.springframework.data.repository.query.QueryLookupStrategy.Key key,
org.springframework.data.jpa.provider.QueryExtractor extractor,
org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
QueryLookupStrategy for the given EntityManager and QueryLookupStrategy.Key.em - must not be null.key - may be null.extractor - must not be null.evaluationContextProvider - must not be null.Copyright © 2020. All rights reserved.