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
var results = session .CreateQuery("select o.Employee.FirstName, o from Order o join fetch o.Customer") .SetMaxResults(1) .UniqueResult<object[]>();
The query above leads to duplicated column aliases for fetched Customer ID:
SELECT employee2_.FirstName AS col_0_0_ ,order0_.OrderId AS col_1_0_ ,customer1_.CustomerId AS customerid1_0_1_ -- <-HERE ,order0_.OrderId AS orderid1_3_0_ ,customer1_.CustomerId AS customerid1_0_1_ -- <-AND HERE ...
And that doesn't work on Oracle (for queries with paging) and SQL Server CE, SQL Anywhere.
Related issue: https://nhibernate.jira.com/browse/NH-1773
The text was updated successfully, but these errors were encountered:
oups. It's nhibernateGH-2092
99a533f
Add support for joining a subquery in hql (#2551)
10393df
* Add support for joining a subquery in hql * Enable tests and fix #2092 Co-authored-by: Roman Artiukhin <bahusdrive@gmail.com>
Successfully merging a pull request may close this issue.
The query above leads to duplicated column aliases for fetched Customer ID:
And that doesn't work on Oracle (for queries with paging) and SQL Server CE, SQL Anywhere.
Related issue:
https://nhibernate.jira.com/browse/NH-1773
The text was updated successfully, but these errors were encountered: