how to debug nHibernate mappings?
Posted: Fri Dec 09, 2016 2:56 am
I remember a long time ago somebody mentioned a way to log mapping errors that keep the project from spinning up.
I've added some custom tables, but I've messed something up in the nHibernate mappings. So I keep getting the dreaded "An association from the table <newtable> refers to an unmapped class..."
I can't find the mapping issue. And I can't figure out how to log those mappings in the nHibernate bootstrap to figure out the real issue.
Anyone remember how to log the nHibernate mappings at startup?
I've added some custom tables, but I've messed something up in the nHibernate mappings. So I keep getting the dreaded "An association from the table <newtable> refers to an unmapped class..."
I can't find the mapping issue. And I can't figure out how to log those mappings in the nHibernate bootstrap to figure out the real issue.
Anyone remember how to log the nHibernate mappings at startup?