Tag Archives: NHibernate

NHibernate: undefined alias or unknown mapping

I must note that I’ve wasted considerable amount of time on this error message. When copy/pasting, I’ve failed to close a bracket in a HQL query, and even more – the bad expression exceeded the screen space and without an … Continue reading

Posted in Software Development, Tools | Tagged , , , | Leave a comment

{“There is an error in XML document (2, 2).”}

An extremely undescriptive error message took hours of my valuable time. Of course, we are talking about XmlSerializer trying to parse an XML file. What actually happened was that an inherited piece of code caught and ignored this error, while … Continue reading

Posted in Software Development | Tagged , , | 1 Comment

NHibernate “Could not find the dialect in the configuration” “Could not compile the mapping document”

These are the show-stoppers for me for quite a while. I was using the example from the book trying to replace App.config (in my case Web.config) with hibernate.cfg.xml so I can have different configuration in a test project, but these … Continue reading

Posted in Software Development, Tools | Tagged , , | 3 Comments