ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: Ibatis - datasource config
Date Tue, 28 Nov 2006 16:09:51 GMT
Yep: you'll need to create an iBATIS DataSourceFactory implementation,
but that should work just fine.

Larry


On 11/28/06, meenu_24 <meenakshi_ramanan@yahoo.co.in> wrote:
>
> Hi all,
> In SqlMapConfig.xml file can I specify my class which implements datasource
> in <transactionManager> element. This is a requirement in our application
> as we have made a failover solution for datasource wich is implemented by
> the class, and this class has to be reffered in SqlMapConfig.xml so that
> ibatis uses a proper datasource every time. The failover solution is if one
> datasource fails other takes over.
> How to specify this class in transaction manager. Thanks for your time.
>
> thanks
> Meena
>
> --
> View this message in context: http://www.nabble.com/Ibatis---datasource-config-tf2719174.html#a7581854
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>

Mime
View raw message