-->
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: Change nHibernate Connection
PostPosted: Mon Jul 09, 2007 8:56 am 
Newbie

Joined: Mon Mar 12, 2007 5:34 am
Posts: 7
Hibernate version:v1.1.4322

We are building a webservice which uses nhibernate. We do an authentication on our MS SQL database. After validating the client we want to be able to switch to a different database. We know we can change to a different MS SQL database using
Code:
Connection.ChangeDatabase()
.

Is it possible to change from a MS SQL to a MySQL connection database?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 11, 2007 9:38 am 
Newbie

Joined: Wed Jul 11, 2007 9:35 am
Posts: 4
I'd use two separate ISessionFactory instances, one for each database.


Top
 Profile  
 
 Post subject: Web.config
PostPosted: Tue Oct 02, 2007 5:19 am 
Newbie

Joined: Mon Mar 12, 2007 5:34 am
Posts: 7
How do i handle this is the web.config?


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.