Class JpaQueryLookupStrategy

java.lang.Object
org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy

public final class JpaQueryLookupStrategy extends Object
Query lookup strategy to execute finders.
Author:
Oliver Gierke, Thomas Darimont, Mark Paluch, RĂ©da Housni Alaoui, Greg Turnquist
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.data.repository.query.QueryLookupStrategy
    create(jakarta.persistence.EntityManager em, JpaQueryMethodFactory queryMethodFactory, org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider, QueryRewriterProvider queryRewriterProvider, EscapeCharacter escape)
    Creates a QueryLookupStrategy for the given EntityManager and QueryLookupStrategy.Key.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public static org.springframework.data.repository.query.QueryLookupStrategy create(jakarta.persistence.EntityManager em, JpaQueryMethodFactory queryMethodFactory, @Nullable org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider, QueryRewriterProvider queryRewriterProvider, EscapeCharacter escape)
      Creates a QueryLookupStrategy for the given EntityManager and QueryLookupStrategy.Key.
      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.