-->
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: More than one hibernate.cfg.xml
PostPosted: Mon Jan 10, 2005 4:06 pm 
Newbie

Joined: Thu Dec 23, 2004 9:14 am
Posts: 4
Hi!

Is it possible to have multiple hibernate.cfg.xml files in the same application?

I mean, I have differente hibernate.cfg.xml, each one declaring different mappings resources.
I need to see al the the mappings resources in my Session Factory.
Is this possible?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 10, 2005 5:48 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
no but you can use XML entities if you need to split it out

_________________
Emmanuel


Top
 Profile  
 
 Post subject: More than one hibernate.cfg.xml
PostPosted: Tue Jan 11, 2005 6:25 am 
Newbie

Joined: Thu Dec 23, 2004 9:14 am
Posts: 4
Can you please explain me this?

How can I do?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 11, 2005 6:50 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Check an XML tutorial
http://www.w3schools.com/dtd/dtd_entities.asp

_________________
Emmanuel


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.