users@glassfish.java.net

Re: RE: Communications Exception after wait_timeout expires in MySQL 5

From: <glassfish_at_javadesktop.org>
Date: Thu, 18 Jun 2009 23:38:27 PDT

autoReconnect throws exception on queries issued on stale or dead connection in the current transaction, but will attempt reconnect before the next query issued on the connection in a new transaction. Mysql docs say that this property should be used only when the application is unable to handle SQLExceptions resulting from dead or stale connections.
[Message sent by forum member 'sm157516' (sm157516)]

http://forums.java.net/jive/thread.jspa?messageID=352026