You'll need to use a ping query to make sure that the connection is valid.

Something like this:

http://www.mail-archive.com/[email protected]/msg02651.html

Larry


On 10/25/06, Dorin Manoli <[EMAIL PROTECTED]> wrote:




Hi ALL! I'm wondering if is there any way to see if a connection is active
or not (didn't found in docs), because I got exceptions when I loose DB
connection and have to reconnect.

Need a nice way to do that, not catching exceptions.

Reply via email to