异常的管道中断的例外是:什么用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