You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by "Akins, Greg" <ga...@amervideo.com> on 2005/01/27 16:02:05 UTC

Connecting an application to multiple database instances

I have an app that needs to connect to several different Oracle
instances and a DB2 instance
 

Re: Connecting an application to multiple database instances

Posted by Clinton Begin <cl...@gmail.com>.
Nope.  That's the best way to do that.  

Cheers,
Clinton


On Thu, 27 Jan 2005 10:02:05 -0500, Akins, Greg <ga...@amervideo.com> wrote:
>  
> I have an app that needs to connect to several different Oracle instances
> and a DB2 instance 
>   
> From what I can tell (and I'm really new to Ibatis), the best thing to do is
> create a SqlMapsConfig for each different database connection and list the
> appropriate sqlMap definitions in the appropriate config. 
>   
> Any other/better way to do that? 
>   
>  
> Greg Akins 
> Software Engineer 
> Sony Electronics, STP Systems 
> 724.696.7322 (Sony) 
> 724.696.6147 (AV) 
> 724.454.7790 (Cell) 
> 412.590.3973 (Pager) 
>