ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <Nathan.Ma...@Sun.COM>
Subject Re: multiple datasources
Date Wed, 14 Sep 2005 18:53:22 GMT
This is very easily done without Spring.

You just need two different context elements in you dao config file.   
each context can connect to a different database.

Nathan

On Sep 14, 2005, at 12:46 PM, Jason Vinson wrote:

> If you are using spring I may be able to help.  I couldn't figure  
> out how to
> do it otherwise  :(
>
> Jason
>
>
> On 9/14/05 2:36 PM, "Charlton Ting" <cjting@hotmail.com> wrote:
>
>
>> Hi,
>>
>> I am an ibatis newbie and have a quick question. Does anyone know  
>> if I can
>> (and how) to use ibatis to connect to multiple datasources? I need  
>> to pull
>> data from Oracle and SQL Server databases and I'm not sure how to  
>> configure
>> multiple sources in the SqlMapConfig.
>>
>> Many thanks,
>>
>> Chuck
>>
>>
>
>
>


Mime
View raw message