http://commons.apache.org/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html#validationQuery
Brandon On 10/16/07, Julien Thewys <[EMAIL PROTECTED]> 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 > >
