Hi, when I'm trying to map a nested class as
MyNamespace.MyClass.MyNested by code with Conformist extensions, an
exception is thrown at schema exportation:
"Could not compile the mapping document: mapping_by_code"

with InnerException message:
"persistent class MyNamespace.MyNested, MyAssembly not
found" {NHibernate.MappingException}

and stack:
   at
NHibernate.Cfg.XmlHbmBinding.Binder.ClassForFullNameChecked(String
fullName, String errorMessage)
   at NHibernate.Cfg.XmlHbmBinding.Binder.ClassForNameChecked(String
name, Mappings mappings, String errorMessage)
   at
NHibernate.Cfg.XmlHbmBinding.ClassBinder.BindClass(IEntityMapping
classMapping, PersistentClass model, IDictionary`2 inheritedMetas)
   at NHibernate.Cfg.XmlHbmBinding.RootClassBinder.Bind(HbmClass
classSchema, IDictionary`2 inheritedMetas)
   at
NHibernate.Cfg.XmlHbmBinding.MappingRootBinder.AddRootClasses(HbmClass
rootClass, IDictionary`2 inheritedMetas)
   at
NHibernate.Cfg.XmlHbmBinding.MappingRootBinder.AddEntitiesMappings(HbmMapping
mappingSchema, IDictionary`2 inheritedMetas)
   at NHibernate.Cfg.XmlHbmBinding.MappingRootBinder.Bind(HbmMapping
mappingSchema)
   at NHibernate.Cfg.Configuration.AddDeserializedMapping(HbmMapping
mappingDocument, String documentFileName)


"MyNamespace.MyNested" is checked while "MyNamespace.MyClass.MyNested"
should be considered...

Any suggested (by code) workaround?
Thx

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