SpringSource/spring-data-mongodb — pull request #13 by noter (2012-09-19 15:40:04+00:00)
Title: DATAMONGO-362 - initial support for Specification

This pull request is for initial review purpose to fix DATAMONGO-362.

Because there is a little different syntax in QueryDSL to query documents based on 'DBRef'. I adapted 'Specification' solution from Spring Data JPA to solve this.

There is currently a limitation in QueryDSL, that can be only conjunction between joins predicates.

Do you think is a good idea or is there a better way? Can we implements something else based on 'Specification' ?