ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Min Hui" <min...@dayamega.com>
Subject RE: Mutiple database
Date Fri, 03 Nov 2006 02:14:41 GMT
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

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

    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

Thanks in advance 
View this message in context:
Sent from the iBATIS - Dev mailing list archive at Nabble.com.

View raw message