Skip to content

DATAMONGO-1394 - Handle id path for references correctly when using Querydsl. #373

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 2 commits into from

Conversation

christophstrobl
Copy link
Member

We now allow direct usage path.eq() on id properties of db referenced objects. This allows to write the query as person.coworker.id.eq(corworker.getId()) instead of person.coworker.eq(corworker). This helps building the query using just the plain id not having to actually create new object wrapping it.

We now allow direct usage path.eq() on id properties of db referenced objects. This allows to write the query as `person.coworker.id.eq(corworker.getId())` instead of `person.coworker.eq(corworker)`. This helps building the query using just the plain id not having to actually create new object wrapping it.
odrotbohm pushed a commit that referenced this pull request Jul 27, 2016
…s for DBRefs.

We now allow direct usage path.eq(…) on id properties of db referenced objects. This allows to write the query as person.coworker.id.eq(coworker.getId()) instead of person.coworker.eq(coworker). This helps building the query using just the plain id not having to actually create new object wrapping it.

Original pull request: #373.
odrotbohm added a commit that referenced this pull request Jul 27, 2016
Some internal refactorings to avoid deeply nested if-clauses.

Original pull request: #373.
@odrotbohm odrotbohm closed this Jul 27, 2016
@odrotbohm odrotbohm deleted the issue/DATAMONGO-1394 branch July 27, 2016 09:00
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.

2 participants