I have a hierarchy of classes where Company and Person inherit from
the class Contact. Each of the 3 classes has a separate underlying
database table. The base Contact class has a boolean property
IsActive.

I created a simple filter with the condition "Active = 1". The problem
is if I apply the filter to many-to-many/many-to-one associations,
NHibernate applies the condition to the concrete class table instead
of joining the base table and applying the condition to it.

Is this a bug/unsupported behavior in NHibernate?

Thanks,
Dmitry

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to