Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
@QueryInit seems broken in QueryDSL 2.2.3 #49
I always get NPE, because city.zipcode is null.
From what i read about the QueryInit annotation i could specify the paths i'm querying, but this does not seem to solve my problem.
All seem not to work, the zipcode field is always null.
From some old Bugreport i saw a small example which does show the same result:
here the NPE will come along the path.
Interestingly, the @QuerydslConfig annotation used before (and which is still documented in http://www.querydsl.com/static/querydsl/2.2.3/reference/html/ch03s02.html) does not seem to exist anymore.
How and where to specify the correct query path ?
added a commit
Nov 19, 2011
We renamed @QuerydslConfig to @config. I will update the docs. Sorry about that.
I just added support for deep wildcard initializations. It should now work like this :
I will make a release tomorrow.