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 radha rukmani <ra...@yahoo.com> on 2006/01/20 21:06:24 UTC

how to create two connection pools

Hi,
   
  How to create two connection pools, for two different databases.
   
  Thanks
   
   

		
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.

Re: how to create two connection pools

Posted by Jeff Butler <je...@gmail.com>.
Two SqlMapConfig.xml files.

Two DAO contexts if you are using iBATIS DAO.

Jeff Butler



On 1/20/06, radha rukmani <ra...@yahoo.com> wrote:
>
> Hi,
>
> How to create two connection pools, for two different databases.
>
> Thanks
>
>
>
> ------------------------------
> Yahoo! Photos
> Ring in the New Year with Photo Calendars<http://us.rd.yahoo.com/mail_us/taglines/photos/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38087/*http://pg.photos.yahoo.com/ph//page?.file=calendar_splash.html&.dir=>.
> Add photos, events, holidays, whatever.
>
>

Re: how to create two connection pools

Posted by Larry Meadors <lm...@apache.org>.
Create two SqlMapClient instances and pass in the properties to the builder.

Larry


On 1/20/06, radha rukmani <ra...@yahoo.com> wrote:
> Hi,
>
> How to create two connection pools, for two different databases.
>
> Thanks