2016-03-29 30 views

答えて

1

QuerydslとSpring Data JPAとの「実際の」唯一の統合は、Spring Data Specificationsの代わりにQuerydsl述語を使用することです。これはQueryDslPredicateExecutorを使用して実行できます。 しかし、どちらもWHERE文を定式化する役割しか果たしません。私はこの記事をお勧め: https://spring.io/blog/2011/04/26/advanced-spring-data-jpa-specifications-and-querydsl

をしかし、あなたはどのQuerydsl機能が集計を含む使用することができます春データJPAにカスタムリポジトリを書き込むことができます。 http://docs.spring.io/spring-data/data-commons/docs/1.6.1.RELEASE/reference/html/repositories.html#repositories.custom-implementations

+0

私はあなたの応答を感謝しています。 –

関連する問題