-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: NHibernate.MappingExcept
PostPosted: Sun Aug 28, 2005 2:30 pm 
NHibernate not found the file Customer.hbm.xml the following mistake appears:

Exception not controlled of the type ' NHibernate. MappingException ' in nhibernate.dll

Additional Information: Resource: NHDomainModel. Customer.hbm.xml not found

The file Customer.hbm.xml is in the same assembly.

Excuse my English but it is not my natural language.


Top
  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 4:13 am 
Senior
Senior

Joined: Thu Jun 02, 2005 5:03 pm
Posts: 135
Location: Paris
No problem EricGB,

Is your mapping file set to be an 'Embedded Resource'? All *.hbm.xml files must be embedded or in the same directory as the assembly.

Also, if you post a copy of your mapping file and the detail of the exception produced we'll be able to provide you with more assistance.

Cheers,

Symon.


Top
 Profile  
 
 Post subject: Embedded
PostPosted: Mon Aug 29, 2005 10:12 am 
Thank you
This it was the problem.


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.