#3264 was active for 309594 milliseconds and has been removed automaticaly
由于大数据量导出导致操作数据库时间超过了30秒,导致连接被关闭了;出现这种问题可以将连接数据库的设置修改一下:
maximumActiveTime 设置到 900000
然后下面又报了这个错:ERROR Could not toggle autocommit
java.sql.SQLException: Couldn't perform the operation setAutoCommit: You can't perform any operations on this connection. It has been automatically closed by Proxool for some reason (see logs).