-->
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: read hibernate.cfg.xml using code
PostPosted: Thu Aug 04, 2005 9:19 pm 
Newbie

Joined: Thu Jul 14, 2005 7:54 pm
Posts: 11
Is there any way to read hibernate.cfg.xml file using code? the project I am working on requires the file to be outside the jar file.


Top
 Profile  
 
 Post subject: taking hibernate.cfg.xml out of jar file
PostPosted: Thu Aug 04, 2005 9:30 pm 
Newbie

Joined: Thu Jul 14, 2005 7:54 pm
Posts: 11
I should be more specific about the issue, here it goes:

the deployment environment of my current hibernate based project requires all configuration files to be in a separated dir which is outside the jar file. so I need to separate hibernate.cfg.xml from other xml files used for mapping. any idea how to achieve this?
Thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 04, 2005 11:20 pm 
Regular
Regular

Joined: Thu May 26, 2005 2:08 pm
Posts: 99
Are you talking about needing something different than this?


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.