Sorry, I have not used iBatis without spring for ages. As for Spring/iBatis
I just checked replacing my datasource in applicationContext.xml with
<bean id="dataSource"
class="org.logicalcobwebs.proxool.ProxoolDataSource" destroy-method="close">
<property
name="driver"><value>net.sourceforge.jtds.jdbc.Driver</value></property>
<property
name="driverUrl"><value>jdbc:jtds:sqlserver://server:1433;socketTimeout=20;loginTimeout=10</value></property>
<property name="user"><value>someusername/value></property>
<property name="password"><value>somepassword</value></property>
</bean>
works fine. Note that you can add any property that has crresponding setXXX
in ProxoolDataSource.
On Wed, Mar 25, 2009 at 9:54 AM, Mike.G <[email protected]> wrote:
> Hi, thanks for you response.
>
> could you give some example configurations?
>
> thanks
>
> Mike.G
>
>
> 2009/3/25 Nicholoz Koka Kiknadze <[email protected]>:
> > I think you can use any DataSource (including ProxoolDataSource). Just
> use
> > full class name in your transactionManager's dataSource element and IMO
> it
> > should work.
> >
> > On Mon, Mar 23, 2009 at 3:39 AM, Mike.G <[email protected]> wrote:
> >>
> >> Hi, everyone, ibatis can use proxool connection pool? how?
> >>
> >> thanks
> >>
> >> Mike.G
> >
> >
>