NHibernate “<end-of-text>” Error
Technorati Tags:

I’ve been using and teaching NHibernate for a while now, and I still run into the following error when I fire up a new project:

NHibernate.QueryException: in expected: <end-of-text> (possibly an invalid or unmapped class name was used in the query)

What does this mean? It means I forgot to change the Build Action of the .hbm.xml mapping files to “Embedded Resource”.

Happy Coding!

Comments (1) -

2/16/2010 2:58:01 AM #

Appreciated. This saved me a little time. I am very new to NHibernate.

Comments are closed

.NET Musings

Wandering thoughts of a developer, architect, speaker, and trainer

Managed Windows Shared Hosting by OrcsWeb