You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Min Hui <mi...@dayamega.com> on 2006/11/03 03:14:41 UTC

RE: Mutiple database

Hi everyone,

I am newbie to iBatis and have some problems when developing it with an
ASP.NET application which allowed user to access multiple databases due to
static instance of iBatis.Mapper

In my project, user can login and choose the server & database (SQL Server)
that he/she wants to access (these feature is customized not using the
ASP.NET security options), so I have to change the connection string in
iBatis.Mapper based on user selected (not use the connectionString in
config file)

Because the Mapper is static, could not be isolated in ASP.NET application,
the connection string will be updated by the latest user login. This can be
problem with previous users that have been login and running the application
because his connection string is replaced with other users.

Is it solved in the next version or any ways to solve this problem?
 
Please advice. Thanks in advance


Regards,
Min Hui



-----Original Message-----
From: SBP [mailto:subhash.bp@sas.com] 
Sent: Thursday, November 02, 2006 7:21 PM
To: dev@ibatis.apache.org
Subject: Mutiple database


Hi, 
    I am new to ibatis. How will I select from two different data bases. if
any body have some links or codes please share. I need to implement in my
project. 

Thanks in advance 
Subi
-- 
View this message in context:
http://www.nabble.com/Mutiple-database-tf2559446.html#a7132558
Sent from the iBATIS - Dev mailing list archive at Nabble.com.