NHibernate “<end-of-text>” Error

Wednesday, 11 March 2009 06:15 by PhilJapikse
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!

Tags:   ,
Categories:   .NET tools | NHibernate
Actions:   E-mail | Permalink | Comments (1) | Comment RSSRSS comment feed

Comments

February 16. 2010 02:58

Matt

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

Matt

Add comment




  Country flag

biuquote
Loading