ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Goodin" <brandon.goo...@gmail.com>
Subject Re: PingQuery with BasicDataSource
Date Wed, 17 Oct 2007 14:03:32 GMT
http://commons.apache.org/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html#validationQuery

Brandon

On 10/16/07, Julien Thewys <jt@udev.org> wrote:
>
> Hi,
>
> I used to defined my pool parameters in the sqlMapConfig file, thus in
> XML.
> I now have to explicitly declare a datasource: for this I use DBCP with a
> BasicDataSource.
>
> How can I set the PingQuery parameters on a BasicDataSource, like I did in
> the
> sqlMapConfig file (<property name="Pool.PingQuery" value ... >)?
>
> Thanks,
> --
> jt
>
>

Mime
View raw message