Ryan Cornia wrote:
> This solution seems to work great for me. After adding this and
> re-booting the database server, it re-connected and worked great
> automatically!!!!

Same for me. It works too with postgresql. It would be interesting to know
how big the overhead is for this check. Is the check done before EVERY
query? Anyway, I used an even simpler <value>SELECT 1;</value> which does
not need to read any table but returns a row as requested in the Javadoc.

cu,
        boris

-- 
Dipl.-Inf. Boris Folgmann   mailto:[EMAIL PROTECTED]
Folgmann IT-Consulting      http://www.folgmann.de


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to