-->
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.  [ 4 posts ] 
Author Message
 Post subject: I need help on registering hibernate class
PostPosted: Fri Sep 22, 2006 4:41 am 
Newbie

Joined: Fri Sep 22, 2006 4:32 am
Posts: 3
Hi my name is Solomon. I need your help on Nhibernate MXL mapping. I Created the mapping file and the class but when I try to register the class to Nhibernate an error happened which say, “Resource: NameSpace.ClassName.hbm.xml not found” Can you help me please.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 22, 2006 11:59 pm 
Regular
Regular

Joined: Tue Feb 21, 2006 9:50 am
Posts: 107
you have to add the xml files to your project and mark them as "Embedded Recource". You will find this in the property editor if you mark the xml-file in the solution explorer.

Regards
Klaus


Top
 Profile  
 
 Post subject: Thanks a Lot !!
PostPosted: Sat Sep 23, 2006 2:17 am 
Newbie

Joined: Fri Sep 22, 2006 4:32 am
Posts: 3
luedi wrote:
you have to add the xml files to your project and mark them as "Embedded Recource". You will find this in the property editor if you mark the xml-file in the solution explorer.

Regards
Klaus



Appreciating you a lot klaus- finally your help has worked it out.

Regrds
solomon


Top
 Profile  
 
 Post subject: Thanks a Lot !!
PostPosted: Sat Sep 23, 2006 2:19 am 
Newbie

Joined: Fri Sep 22, 2006 4:32 am
Posts: 3
luedi wrote:
you have to add the xml files to your project and mark them as "Embedded Recource". You will find this in the property editor if you mark the xml-file in the solution explorer.

Regards
Klaus



Appreciating you a lot klaus- finally your help has worked it out.

Regrds
solomon


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.