3 messages in com.mysql.lists.javaRe: IOException
FromSent OnAttachments
Filip Rachunek13 May 2003 01:26 
Mark Matthews13 May 2003 19:05 
Filip Rachunek14 May 2003 03:30 
Subject:Re: IOException
From:Filip Rachunek (madp@hotmail.com)
Date:05/14/2003 03:30:22 AM
List:com.mysql.lists.java

If there is a network problem which causes Connector/J to 'drop' the connection (network flakiness, cable problems, server restarted, etc), then the SQLState of the exception will be "08S01", so that's what you need to check for.

- From that point, depending on the logic of your application you will have to decide what to do.

Thanks Mark, I will try it.

Filip

http://BrainKing.com http://BrainKing.info