ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Thewys ...@udev.org>
Subject PingQuery with BasicDataSource
Date Tue, 16 Oct 2007 16:23:50 GMT
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