We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following snippet:
.where("cte.id").notIn() .from(UserDataPermissionCte.class, "cte1") .from(UserPermission.class, "up") .select("cte1.id") .where("cte1.field").eqExpression("up1.field") .where("cte1.entity").eqExpression("up1.entity") .where("cte1.actionName").eqExpression("up1.actionName") .where("cte1.subjectId").eqExpression("up1.subject.id") .unionAll() .from(UserDataPermissionCte.class, "cte2") .from(UserPermission.class, "up") .select("cte2.id") .where("up2.field").eqExpression(":emptyField") .where("cte2.entity").eqExpression("up2.entity") .where("cte2.actionName").eqExpression("up2.actionName") .where("cte2.subjectId").eqExpression("up2.subject.id") .endSet() .end()
This results in an exception because up is reported as duplicate alias. This is wrong since the two queries should be isolated.
up
The text was updated successfully, but these errors were encountered:
added testcase for #281
33e9024
5977d67
beikov
No branches or pull requests
Consider the following snippet:
This results in an exception because
up
is reported as duplicate alias. This is wrong since the two queries should be isolated.The text was updated successfully, but these errors were encountered: