Too strict validation of groupBy and having #974

Closed
MdSE opened this Issue Oct 1, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@MdSE

MdSE commented Oct 1, 2014

Group discussion: https://groups.google.com/forum/#!topic/querydsl/2HAY6BcnVzc

Error: "Undeclared path 'aliazz'. Add this path as a source to the query to be able to reference it."

Query:
NumberPath aliazz = new NumberPath(Long.class, "aliazz");
query
.from(qValueDouble)
.groupBy(aliazz)
.limit(4)
.list(qValueDouble.time.divide(5000).as(aliazz),
qValueDouble.value.avg());

@timowest timowest added this to the 3.5.1 milestone Oct 1, 2014

@Shredder121 Shredder121 closed this in #977 Oct 3, 2014

@timowest timowest changed the title from Too strict validation to Too strict validation of groupBy and having Oct 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment