異常的管道中斷的例外是:什麼用C3P0和Hibernate
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was45569 milliseconds ago.The last packet sent successfully to the server was 45569 milliseconds ago, which is longer than the server configured value of 'wait_timeout'. 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.
例外情況是當天只有一次,即當第一次打到數據庫時。 我假定由於c3p0配置而引發的問題。 如果您有任何解決方案。這將是gretat! – Chandu