Hi Guys, I am getting this exception when i have an abstract class that i am trieng to query. what can be the problem?
This is my mapping XML - <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default- access="property" auto-import="true" default-cascade="none" default- lazy="true"> - <class xmlns="urn:nhibernate-mapping-2.2" mutable="true" name="Promo.NH.Model.Entity, Promo.NH, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" table="tbl_Entity"> - <id name="Id" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" unsaved-value="0"> <column name="Id" /> <generator class="identity" /> </id> - <property name="CreatedDate" type="System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <column name="CreatedDate" /> </property> - <property name="UpdatedDate" type="System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <column name="UpdatedDate" /> </property> - <joined-subclass name="Promo.NH.Model.EntityTemplate, Promo.NH, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" table="tbl_EntityTemplate"> - <key> <column name="Entity_id" /> </key> - <joined-subclass name="Promo.NH.Model.AttributeTemplate, Promo.NH, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" table="tbl_AttributeTemplate"> - <key> <column name="EntityTemplate_id" /> </key> - <property name="Title" type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <column name="Title" /> </property> - <property name="CodeName" type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <column name="CodeName" /> </property> - <property name="Descriptor" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <column name="Descriptor" /> </property> - <joined-subclass name="Promo.NH.Model.AttributeTemplates.ATHtml, Promo.NH, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" table="tbl_ATHtml"> - <key> <column name="AttributeTemplate_id" /> </key> </joined-subclass> - <joined-subclass name="Promo.NH.Model.AttributeTemplates.ATImage, Promo.NH, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" table="tbl_ATImage"> - <key> <column name="AttributeTemplate_id" /> </key> </joined-subclass> - <joined-subclass name="Promo.Core.MetaModel.AttributeTemplates.ATLocation, Promo.NH, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" table="tbl_ATLocation"> - <key> <column name="AttributeTemplate_id" /> </key> </joined-subclass> - <joined-subclass name="Promo.NH.Model.AttributeTemplates.ATPassword, Promo.NH, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" table="tbl_ATPassword"> - <key> <column name="AttributeTemplate_id" /> </key> </joined-subclass> - <joined-subclass name="Promo.NH.Model.AttributeTemplates.ATPhoneNumber, Promo.NH, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" table="tbl_ATPhoneNumber"> - <key> <column name="AttributeTemplate_id" /> </key> </joined-subclass> - <joined-subclass name="Promo.NH.Model.AttributeTemplates.ATSingleLineText, Promo.NH, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" table="tbl_ATSingleLineText"> - <key> <column name="AttributeTemplate_id" /> </key> </joined-subclass> </joined-subclass> </joined-subclass> </class> </hibernate-mapping> -- 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.
