Thread:
 NHibernate.MappingException: Unknown entity class:... 
 rnagam1   19 Oct 2006, 13:32 
 Re: NHibernate.MappingException: Unknown entity... 
 makpac   28 Feb 2007, 17:38 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: makpac (28 Feb 2007, 17:38) Replies: 0, Views: 22411
Subject: Re: NHibernate.MappingException: Unknown entity class: ...
POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE PAGE!
On 19 Oct 2006 13:32, rnagam1 wrote:

>"NHibernate.MappingException: Ukknown entity class: NHibernate.User"
>exception is thrown when trying to implement the example.

>I created a windowns application named NHibernate and added the User
>class and the User.hbm.xml and the app.config.

Hi,

Try to configure the .hbm.xml file's Build Action to 'Embedded Resource'
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]