Skip to content

NH-2208 - Error with filters on joined-subclass as many-to-one #1215

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

Closed
nhibernate-bot opened this issue Oct 12, 2017 · 1 comment · Fixed by #2545
Closed

NH-2208 - Error with filters on joined-subclass as many-to-one #1215

nhibernate-bot opened this issue Oct 12, 2017 · 1 comment · Fixed by #2545

Comments

@nhibernate-bot
Copy link
Collaborator

nhibernate-bot commented Oct 12, 2017

felice Pollano created an issue — 24th May 2010, 8:34:39:

Using filters on entities, when those entities belong to a
hierarchy, and we query for another entity having many-to-one
association to the "filtered" entity, we obtain the following error:

----> System.Data.SqlClient.SqlException : The multi-part identifier
"subofrefer1_1_.P1 does not exist" 

Attached there is a unit test to dempostrate the issue. The test requires a Database named FILTERS on a local MSSQL(Express) instance. One of the test creates the DB schema required, the other show the exception.


Fabio Maulo added a comment — 27th July 2010, 13:19:34:

Decoded failing test committed on trunk

@bahusoid
Copy link
Member

Looks very similar to #1209

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

Successfully merging a pull request may close this issue.

3 participants