spring-projects/spring-data-jpa — pull request #120 by thomasdarimont (2014-11-13 21:34:54+00:00)
Title: DATAJPA-393 - Add support for QueryDSL projections in JPA repositories.

We now support projections via QueryDSL factory expressions in Querydsl.
Introduced QueryDslJpaPredicateExecutor that contains appropriate finder methods that accept a FactoryExpression for performing custom projections. Unfortunately this isn't supported by other modules (like e.g. MongoDB) this the store specific interface.
Added basic finder variants:
List findAll(FactoryExpression projection, Predicate predicate);
List findAll(FactoryExpression projection, Predicate predicate, OrderSpecifier... orders);
Page findAll(FactoryExpression projection, Predicate predicate, Pageable pageable);

Based on David Liu's initial pull request: #119.