Skip to content
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

Too strict validation of groupBy and having #974

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

Too strict validation of groupBy and having #974

MdSE opened this issue Oct 1, 2014 · 0 comments
Milestone

Comments

@MdSE
Copy link

@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
@timowest timowest changed the title Too strict validation 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.