-->
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.  [ 1 post ] 
Author Message
 Post subject: mapping resource that is not in the project root directoy
PostPosted: Sat May 21, 2011 4:52 pm 
Newbie

Joined: Sat May 21, 2011 4:33 pm
Posts: 1
hi
Im working in vb .net in visual studio 2010.
if i try to map a class with the mapping file in the project root directory all works fine. But if i want to map with a mapping file that is in other directory i have "resource not found" exception.

The folder inside the project root directory is called "dao" and i tried this options without success:

<mapping resource="NhibernateTests.dao.item.hbm.xml" assembly="NhibernateTests" />
<mapping resource="NhibernateTests/dao/item.hbm.xml" assembly="NhibernateTests" />
<mapping resource="dao/item.hbm.xml" assembly="NhibernateTests" />

any suggestion of what i have to do to point to the mapping file in dao directory???


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

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.