On 9 May 2010 07:43, 陈抒 <[email protected]> wrote: > You should consider either expiring and/or testing > connection validity before use in your application, increasing the server > configured values for client timeouts, or using the Connector/J connection > property 'autoReconnect=true' to avoid this problem.
The error message you've posted lists three ways to correct the problem. The third is probably the easiest to try, it's a one line change: just add ?autoReconnect=true to your JDBC URI. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
