Closed
Description
Raman Gupta opened DATAMONGO-362 and commented
When an object refers to another object with a @DbRef
, QueryDSL cannot be used to navigate "across" the @DbRef
. For example:
@Document
Obj1 {
@DbRef Obj2 obj2Ref;
}
Obj2 {
String foo;
}
obj1Repo.findOne(QObj1.obj1.obj2Ref.foo.eq("foovalue"))
returns null
Affects: 1.0.1, 1.1 M1
Issue Links:
- DATAMONGO-1848 Migrate to Document API-based Querydsl implementation
("depends on")
Referenced from: pull request #13
2 votes, 7 watchers