-->
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: Multiple mapping files in hibernate.cfg.xml
PostPosted: Sat Mar 03, 2007 3:17 pm 
Newbie

Joined: Wed Oct 25, 2006 1:13 pm
Posts: 6
I have a lot of mapping files (200). How to configure all those files in the hibernate.cfg.xml file.
Is there something like :
<mapping ressource="../src/*.xml"/>

or
<mapping dir="../src">

Thank you


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 03, 2007 3:29 pm 
Regular
Regular

Joined: Sun Sep 17, 2006 2:48 am
Posts: 81
Location: California
Try <mapping jar="x.jar" /> where you can bundle all your .xml files into x.jar during deployment.


Top
 Profile  
 
 Post subject: Thanks a lot, it's working now
PostPosted: Sat Mar 03, 2007 3:53 pm 
Newbie

Joined: Wed Oct 25, 2006 1:13 pm
Posts: 6
somu wrote:
Try <mapping jar="x.jar" /> where you can bundle all your .xml files into x.jar during deployment.


Top
 Profile  
 
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.