-->
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.  [ 2 posts ] 
Author Message
 Post subject: SessionFactory for multiple databases??
PostPosted: Tue Jun 21, 2005 7:46 am 
Beginner
Beginner

Joined: Wed Jul 21, 2004 7:48 am
Posts: 21
Hi all,
I have a doubt and if someone can answer my questions it will be great.

If an application uses two databases say SQL and HSQL, then do we need to create two session factory instances?
Does hibernate allow us to create multiple session factory instance? For this to happen we need to provide two configuration files, right?

please answer the above questions,
thanks in advance
Mithhun


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 21, 2005 7:56 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
This is not only clear in the reference documentation, but also an FAQ which you didn't read, even though it is mentioned here: http://www.hibernate.org/ForumMailingli ... AskForHelp
this


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.