public GenericQueryLookupStrategy(EntityManager entityManager, SqlSessionTemplate sqlSessionTemplate , Key key, QueryExtractor extractor, EvaluationContextProvider evaluationContextProvider) { this.jpaQueryLookupStrategy = JpaQueryLookupStrategy.create(entityManager, key, extractor, evaluationContextProvider); this.extractor = extractor; this.entityManager = entityManager; this.sqlSessionTemplate = sqlSessionTemplate ; }
public TemplateQueryLookupStrategy(EntityManager entityManager, Key key, QueryExtractor extractor, EvaluationContextProvider evaluationContextProvider) { this.jpaQueryLookupStrategy = JpaQueryLookupStrategy .create(entityManager, key, extractor, evaluationContextProvider); this.extractor = extractor; this.entityManager = entityManager; }