-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Felix,

On 7/21/12 9:11 AM, Felix Schumacher wrote:
> To mitigate the problem of handing out broken connections the pool
> often has functionality to check a connection, before it hands it
> to the client. When using the tomcat database connection pool, that
> feature can be configured by setting validationQuery to a valid
> SQL-query (e.g "select 1 from dual" for oracle) and testOnBorrow to
> true.

+1

Note that this has already been suggested to the OP a few times.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAL/CUACgkQ9CaO5/Lv0PAGeQCgrURA/oXISg/km2PNekk5fZ8u
tGUAn0OgPvcjVRKvzF5miurDm5cixYIg
=P97M
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to