It is an interface in iBATIS, used to make it possible to do what you
are describing.

Take a look at the iBATIS source, and you'll see some examples of it.

Larry


On 11/28/06, meenu_24 <[EMAIL PROTECTED]> wrote:

Hi Larry,

thanks for your suggestion, since I am new to ibatis, can you please tell me
about the DataSourceFactory.

Thanks
Meena



Larry Meadors-2 wrote:
>
> Yep: you'll need to create an iBATIS DataSourceFactory implementation,
> but that should work just fine.
>
> Larry
>
>
> On 11/28/06, meenu_24 <[EMAIL PROTECTED]> 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.
>>
>>
>
>

--
View this message in context: 
http://www.nabble.com/Ibatis---datasource-config-tf2719174.html#a7582192
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Reply via email to