Month: November 2010

NHibernate.DuplicateMappingException due to work in constructor

We encountered the following problem: Nhibernate could not configure itself somehow… NHibernate.DuplicateMappingException NHibernate.MappingException: Could not compile the mapping document: xxxxxx.hbm.xml Of course, we checked if we did not accidentily mapped a certain class twice, but we were sure we didn’t.