Class TrackableJpaQueryLookupStrategy


  • public final class TrackableJpaQueryLookupStrategy
    extends Object
    Query lookup strategy to execute finders. Converted from Spring's JpaQueryLookupStrategy, original authors below. Allows the introduction of NarrowingPartTreeJpaQuery as a viable query lookup resolution type.
    Author:
    Oliver Gierke, Thomas Darimont, Mark Paluch Broadleaf, Jeff Fischer
    • Method Detail

      • create

        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,
                                                                                           org.springframework.data.jpa.repository.query.EscapeCharacter escape,
                                                                                           com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil behaviorUtil,
                                                                                           @Nullable
                                                                                           RSQLVisitorHolder<?> rsqlVisitorHolder,
                                                                                           JpaFiltersCriteriaBuilder catalogFiltersCriteriaBuilder,
                                                                                           com.broadleafcommerce.common.jpa.RepositoryEntityTypeManager repositoryEntityTypeManager)
        Creates a QueryLookupStrategy for the given EntityManager and QueryLookupStrategy.Key.
        Parameters:
        em - must not be null.
        key - may be null.
        extractor - must not be null.
        evaluationContextProvider - must not be null.
        escape -
        Returns: