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 17:02:06 GMT
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 <meenakshi_ramanan@yahoo.co.in> 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 <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.
> >>
> >>
> >
> >
>
> --
> 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.
>
>

Mime
View raw message