-->
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 all resource files from external folder
PostPosted: Wed Jul 08, 2009 7:15 am 
Newbie

Joined: Wed Jul 08, 2009 7:05 am
Posts: 1
Hello,

In hibernate.cfg.xml, can we map all resource files from an external folder.

e.g. i have 3 hbm files residing in /dir/hbmFiles (in file system).
Then can i have a single mapping in hibernate.cfg.xml to consider all files from this directory?

i.e. < mapping resource="/dir/hbmFiles/*.hbm.xml" />

Will the above mapping consider all 3 hbm files from the directory?

Thanks,
mpatt


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.