As an update, I made the following change and the discriminator is
added to the WHERE clause for loading the Ds and Es collections.  All
of my other classes, mappings and queries seem to work.  I'm going to
do some more testing on this and try and run the NHibernate unit tests
against this change, then I'll probably open up a JIRA ticket later.


Index: SingleTableEntityPersister.cs
===================================================================
--- SingleTableEntityPersister.cs       (revision 3917)
+++ SingleTableEntityPersister.cs       (working copy)
@@ -522,7 +522,7 @@

                public override string OneToManyFilterFragment(string alias)
                {
-                       return forceDiscriminator ? 
DiscriminatorFilterFragment(alias) :
string.Empty;
+                       return DiscriminatorFilterFragment(alias);
                }

                private string DiscriminatorFilterFragment(string alias)

--~--~---------~--~----~------------~-------~--~----~
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