-->
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: Configuration files in other directories
PostPosted: Sat May 22, 2004 1:59 pm 
Newbie

Joined: Sat May 22, 2004 1:47 pm
Posts: 13
Hi,

I want hibernate conf files in conf directory, here my directories:

+bin
+model
+impl
-*.class
+conf
-hibernate.cfg.xml
-*.hbm.xml
+data
+log
+src

How can I map this in hibernate.cfg.xml?

Thank you!


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 23, 2004 8:04 am 
Senior
Senior

Joined: Fri Nov 21, 2003 5:55 am
Posts: 155
What kind of application you write?
Do deploy a jar, war or sar?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 23, 2004 10:12 am 
Newbie

Joined: Sat May 22, 2004 1:47 pm
Posts: 13
Standalone.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 24, 2004 5:52 am 
Senior
Senior

Joined: Fri Nov 21, 2003 5:55 am
Posts: 155
So when you add your mapping file to the configuration, give the good path

public Configuration addFile(File xmlFile)
throws MappingException

You can find some informations into API documentation


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.