Skip to content

DATAMONGO-362 - initial support for Specification #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

noter
Copy link
Contributor

@noter noter commented Sep 19, 2012

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' ?

@odrotbohm
Copy link
Member

Thanks a lot Patryk.

@timowest - Any chance you have a brief look, whether the additional Specification abstraction is necessary?

@timowest
Copy link

Sorry for the late response. I think the abstraction is not necessary. If DbRef based constraints are needed Querydsl queries can be used directly instead.

I think it works the same way for Spring Data JPA as well.

@pivotal-issuemaster
Copy link

@noter Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@christophstrobl
Copy link
Member

sorry @noter it took so long, this one has been superseded by #579 which includes the ability to use join.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants