tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: java.sql.SQLException: Already closed..strange!
Date Mon, 29 Dec 2008 21:00:15 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ken,

Ken Bowen wrote:
> validationQuery="select 1"

validationQuery="/* ping */ SELECT 1"

would be better. Newer versions of Connector/J will detect the "ping"
comment and use an even cheaper connection test than what is required to
execute this (rather simple) query.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklZOl8ACgkQ9CaO5/Lv0PA/BgCgg6Ehq2Eg+vDTlE4r7ho4OJhW
1YMAoMITN7xXBOEy37W83zE47z4MsT4c
=fqvf
-----END PGP SIGNATURE-----

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


Mime
View raw message