Comparable<...> interface on class causing Alias.$(..) to return null
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With a plain ValueObject class, everything works fine, but when trying to use a ValueObject class that implements Comparable<...>, I get the following Exception:
Exception in thread "main" java.lang.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at test.TestCase.
at test.TestCase.
This is caused by Alias.$(...) returning null, which is then fed into from(...).
I've tested this with 2.1.2, 2.1.1 and 2.2.0-beta4.
See attached testcase which is itself a minimal eclipse project, thanks for your help.
Fixed in SVN trunk